.class public final Lad;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# static fields
.field public static B:I

.field public static C:Z

.field public static Code:I

.field private static F:J

.field public static I:Z

.field public static J:I

.field private static L:Lk;

.field private static M:[B

.field private static N:[Ljava/lang/Object;

.field private static O:[I

.field private static P:I

.field public static Z:Z

.field public static c:Z

.field public static h:Ljava/lang/String;

.field public static i:I

.field public static j:I

.field public static final k:[I

.field public static l:J

.field public static m:[I

.field public static n:[I

.field public static o:[B

.field public static p:Ld;

.field public static q:[B

.field public static r:[B

.field public static s:[B

.field public static t:I

.field private static y:Lad;


# instance fields
.field private A:Ljava/io/DataInputStream;

.field private D:Ljava/io/DataOutputStream;

.field private E:LJ;

.field private G:J

.field private H:I

.field private K:Lk;

.field private Q:Z

.field private R:Ljava/util/Vector;

.field private S:Ljava/lang/String;

.field private T:Ljava/lang/String;

.field private U:Ljava/util/Hashtable;

.field private V:I

.field private W:I

.field private X:I

.field public a:Z

.field public b:[B

.field public d:Ljava/lang/String;

.field public e:I

.field public f:I

.field public g:I

.field public u:Ll;

.field public v:Ll;

.field public w:Lal;

.field public x:Lal;

.field private z:Ljavax/microedition/io/Connection;


# direct methods
.method public static constructor <clinit>()V
    .locals 5

    const/16 v3, 0x3d

    const/4 v2, 0x0

    const/4 v1, -0x1

    const-string v4, "key"

    sput v1, Lad;->J:I

    new-array v0, v3, [Ljava/lang/Object;

    sput-object v0, Lad;->N:[Ljava/lang/Object;

    new-array v0, v3, [I

    sput-object v0, Lad;->O:[I

    sput v1, Lad;->j:I

    new-instance v0, Ld;

    invoke-direct {v0}, Ld;-><init>()V

    sput-object v0, Lad;->p:Ld;

    new-array v0, v2, [B

    sput-object v0, Lad;->q:[B

    const/16 v0, 0x8

    new-array v0, v0, [B

    sput-object v0, Lad;->r:[B

    const/16 v0, 0x20

    new-array v0, v0, [B

    sput-object v0, Lad;->s:[B

    const-string v0, "key"

    invoke-static {v4}, Ln;->Code(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    if-eqz v0, :cond_0

    const-string v0, "key"

    invoke-static {v4}, Ln;->Code(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    :goto_0
    invoke-static {v0}, Ln;->b(Ljava/lang/String;)[B

    move-result-object v0

    const/16 v1, 0xa0

    invoke-static {v0, v2, v1}, Ln;->Code([BII)[I

    move-result-object v0

    sput-object v0, Lad;->k:[I

    return-void

    :cond_0
    const-string v0, "c1dd7ab77e2c967746fe10681026c920f864811321bcb8be6bbfa5a03fda4e16c9c8db3af280f7703366e778e93c55e7159a8852d2b1381e521a337f22b1406cddf41a3114aecb4f4bfe79e0c5aa2ba8824fc989cb8bdcbf8ec5cef5176bfd4059f229b91bfa025126b295f9c409e75f6f6415ee094fd7f5dfd395a1f431668c5a08e88de891dc4dd38d4e9aa9b9c00dc604a0428e3aa5a28ccfa75af099147b"

    goto :goto_0
.end method

.method public constructor <init>()V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/16 v0, 0x400

    new-array v0, v0, [B

    iput-object v0, p0, Lad;->b:[B

    new-instance v0, Ljava/util/Vector;

    const/4 v1, 0x1

    invoke-direct {v0, v1}, Ljava/util/Vector;-><init>(I)V

    iput-object v0, p0, Lad;->R:Ljava/util/Vector;

    return-void
.end method

.method private declared-synchronized B(I)Lh;
    .locals 3

    monitor-enter p0

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    :try_start_0
    iget-object v0, p0, Lad;->R:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    iget-object v0, p0, Lad;->R:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lh;

    iget v2, v0, Lh;->I:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    if-ne v2, p1, :cond_0

    :goto_1
    monitor-exit p0

    return-object v0

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    goto :goto_1

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method private B()V
    .locals 5

    const/4 v4, 0x0

    iput-object v4, p0, Lad;->E:LJ;

    invoke-static {p0}, Lad;->Code(Lad;)V

    iget-object v0, p0, Lad;->D:Ljava/io/DataOutputStream;

    iget-object v1, p0, Lad;->A:Ljava/io/DataInputStream;

    iget-object v2, p0, Lad;->z:Ljavax/microedition/io/Connection;

    new-instance v3, Lac;

    invoke-direct {v3, p0, v0, v1, v2}, Lac;-><init>(Lad;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V

    invoke-static {v3}, Ln;->Code(Ljava/lang/Runnable;)V

    iput-object v4, p0, Lad;->D:Ljava/io/DataOutputStream;

    iput-object v4, p0, Lad;->A:Ljava/io/DataInputStream;

    iput-object v4, p0, Lad;->z:Ljavax/microedition/io/Connection;

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lad;->Z(I)V

    return-void
.end method

.method private C(I)V
    .locals 2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lad;->G:J

    iput p1, p0, Lad;->H:I

    return-void
.end method

.method private static C()Z
    .locals 4

    sget-wide v0, Lad;->l:J

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    cmp-long v0, v0, v2

    if-ltz v0, :cond_0

    sget-wide v0, Lad;->l:J

    const-wide/32 v2, 0x6c258c00

    sub-long/2addr v0, v2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    cmp-long v0, v0, v2

    if-lez v0, :cond_1

    :cond_0
    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public static declared-synchronized Code([Ljava/lang/Object;[I)Lh;
    .locals 8
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v7, 0x2

    const/4 v5, 0x1

    const/4 v6, 0x0

    const-string v0, "socket://"

    const-class v0, Lad;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lad;->y:Lad;

    sget-boolean v2, Lad;->I:Z

    if-eqz v2, :cond_8

    if-eqz v1, :cond_0

    invoke-direct {v1}, Lad;->B()V

    move-object v1, v6

    :cond_0
    sget-boolean v2, Ln;->ao:Z

    if-eqz v2, :cond_1

    const/4 v2, 0x2

    sput v2, Lad;->Code:I

    :cond_1
    sget v2, Lad;->J:I

    if-ltz v2, :cond_3

    sget-object v2, LCode;->d:[Ljava/lang/String;

    sget v3, Lad;->J:I

    aget-object v2, v2, v3

    const-string v3, "http://"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_3

    sget-boolean v2, Lad;->Z:Z

    if-eqz v2, :cond_2

    sget-boolean v2, Lad;->C:Z

    if-nez v2, :cond_2

    const/4 v2, 0x1

    sput-boolean v2, Lad;->C:Z

    :goto_0
    const/4 v2, 0x0

    sput-boolean v2, Lad;->Z:Z

    sget v2, Lad;->J:I

    sget-object v3, LCode;->d:[Ljava/lang/String;

    array-length v3, v3

    if-lt v2, v3, :cond_4

    const/4 v1, -0x1

    sput v1, Lad;->J:I
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    move-object v1, v6

    :goto_1
    monitor-exit v0

    return-object v1

    :cond_2
    :try_start_1
    sget v2, Lad;->J:I

    add-int/lit8 v2, v2, 0x1

    sput v2, Lad;->J:I

    const/4 v2, 0x0

    sput-boolean v2, Lad;->C:Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1

    :cond_3
    :try_start_2
    sget v2, Lad;->J:I

    add-int/lit8 v2, v2, 0x1

    sput v2, Lad;->J:I

    const/4 v2, 0x0

    sput-boolean v2, Lad;->C:Z

    goto :goto_0

    :cond_4
    sget v2, Lad;->Code:I

    sget-object v3, LCode;->d:[Ljava/lang/String;

    sget v4, Lad;->J:I

    aget-object v3, v3, v4

    const-string v4, "socket://"

    invoke-virtual {v3, v4}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_7

    move v3, v7

    :goto_2
    if-eq v2, v3, :cond_1

    sget v2, Lad;->J:I

    sput v2, Lad;->B:I

    const/4 v2, 0x0

    sput-object v2, Lad;->M:[B

    const/4 v2, 0x0

    sput-object v2, Lad;->L:Lk;

    invoke-static {}, Lad;->I()V

    const/4 v2, 0x0

    invoke-static {v2}, Ln;->Code(Z)V

    :cond_5
    :goto_3
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    sput-wide v2, Lad;->F:J

    if-nez v1, :cond_6

    new-instance v1, Lad;

    invoke-direct {v1}, Lad;-><init>()V

    sget-object v2, LCode;->d:[Ljava/lang/String;

    sget v3, Lad;->B:I

    aget-object v2, v2, v3

    const-string v3, "socket://"

    invoke-virtual {v2, v3}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_6

    sput-object v1, Lad;->y:Lad;

    :cond_6
    invoke-direct {v1, p0, p1}, Lad;->I([Ljava/lang/Object;[I)Lh;

    move-result-object v1

    goto :goto_1

    :cond_7
    move v3, v5

    goto :goto_2

    :cond_8
    if-eqz v1, :cond_5

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    sget-wide v4, Lad;->F:J

    sub-long/2addr v2, v4

    const-wide/32 v4, 0x927c0

    cmp-long v2, v2, v4

    if-lez v2, :cond_5

    invoke-direct {v1}, Lad;->B()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    move-object v1, v6

    goto :goto_3
.end method

.method public static Code()Ljava/lang/String;
    .locals 3

    sget-object v0, LCode;->d:[Ljava/lang/String;

    const/4 v1, 0x0

    sget v2, Lad;->B:I

    invoke-static {v1, v2}, Ljava/lang/Math;->max(II)I

    move-result v1

    aget-object v0, v0, v1

    return-object v0
.end method

.method private Code(I)V
    .locals 1

    new-instance v0, LJ;

    invoke-direct {v0, p1}, LJ;-><init>(I)V

    iput-object v0, p0, Lad;->E:LJ;

    return-void
.end method

.method private Code(III)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    iget-object v0, p0, Lad;->E:LJ;

    iget-object v1, p0, Lad;->E:LJ;

    invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v1

    add-int/lit8 v1, v1, 0x4

    invoke-virtual {v0, v1}, LJ;->Code(I)V

    iget-object v0, p0, Lad;->E:LJ;

    add-int/lit8 v1, p3, 0x2

    shr-int/lit8 v1, v1, 0x8

    invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    iget-object v0, p0, Lad;->E:LJ;

    add-int/lit8 v1, p3, 0x2

    invoke-virtual {v0, v1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    iget-object v0, p0, Lad;->E:LJ;

    invoke-virtual {v0, p1}, Ljava/io/ByteArrayOutputStream;->write(I)V

    iget-object v0, p0, Lad;->E:LJ;

    invoke-virtual {v0, p2}, Ljava/io/ByteArrayOutputStream;->write(I)V

    return-void
.end method

.method private static declared-synchronized Code(Lad;)V
    .locals 2

    const-class v0, Lad;

    monitor-enter v0

    :try_start_0
    sget-object v1, Lad;->y:Lad;

    if-ne v1, p0, :cond_0

    const/4 v1, 0x0

    sput-object v1, Lad;->y:Lad;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method private declared-synchronized I([Ljava/lang/Object;[I)Lh;
    .locals 25
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    monitor-enter p0

    const/4 v5, 0x0

    :try_start_0
    sput-object v5, Lah;->i:Lag;

    const/16 v5, 0x35

    aget-object v5, p1, v5

    check-cast v5, Ljava/lang/String;

    const-string v6, "myopera:async"

    invoke-virtual {v6, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-eqz v6, :cond_1

    const/4 v6, 0x0

    sput-boolean v6, Lad;->c:Z

    const/4 v6, 0x0

    :goto_0
    move-object/from16 v0, p1

    array-length v0, v0

    move v7, v0

    if-ge v6, v7, :cond_0

    sget-object v7, Lad;->N:[Ljava/lang/Object;

    aget-object v7, v7, v6

    aput-object v7, p1, v6

    sget-object v7, Lad;->O:[I

    aget v7, v7, v6

    aput v7, p2, v6

    add-int/lit8 v6, v6, 0x1

    goto :goto_0

    :cond_0
    sget v6, Lad;->Code:I

    const/4 v7, 0x1

    if-ne v6, v7, :cond_2

    const/16 v6, 0x35

    const-string v7, "server:test"

    aput-object v7, p1, v6

    :goto_1
    const/16 v6, 0x26

    const/4 v7, 0x0

    aput-object v7, p1, v6

    :cond_1
    const/16 v6, 0x35

    aget-object v6, p1, v6

    check-cast v6, Ljava/lang/String;

    move-object v0, v6

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->S:Ljava/lang/String;

    const/16 v6, 0x2a

    aget-object v6, p1, v6

    check-cast v6, Ljava/lang/String;

    move-object v0, v6

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->T:Ljava/lang/String;

    sget v6, Ln;->ce:I

    const/16 v7, 0xa0

    if-lt v6, v7, :cond_3

    const/4 v6, 0x1

    :goto_2
    move v0, v6

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lad;->a:Z

    invoke-static {}, Lad;->a()V

    const v6, 0x3a980

    move-object/from16 v0, p0

    move v1, v6

    invoke-direct {v0, v1}, Lad;->C(I)V

    const/4 v6, 0x0

    const/4 v7, 0x0

    const/4 v8, 0x1

    :goto_3
    move-object/from16 v0, p0

    move v1, v8

    invoke-direct {v0, v1}, Lad;->B(I)Lh;

    move-result-object v9

    if-eqz v9, :cond_4

    add-int/lit8 v8, v8, 0x1

    goto :goto_3

    :cond_2
    const/16 v6, 0x35

    const-string v7, "myopera:sync"

    aput-object v7, p1, v6
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_1

    :catchall_0
    move-exception v5

    monitor-exit p0

    throw v5

    :cond_3
    const/4 v6, 0x0

    goto :goto_2

    :cond_4
    :try_start_1
    new-instance v9, Lh;

    invoke-direct {v9}, Lh;-><init>()V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->R:Ljava/util/Vector;

    move-object v10, v0

    invoke-virtual {v10, v9}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    move-object/from16 v0, p0

    move-object v1, v9

    iput-object v0, v1, Lh;->Code:Lad;

    iput v8, v9, Lh;->I:I

    move v0, v8

    move-object/from16 v1, p0

    iput v0, v1, Lad;->V:I

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lad;->Q:Z

    move v10, v0

    if-nez v10, :cond_41

    sget-object v6, Lad;->o:[B

    if-nez v6, :cond_5

    const/4 v6, -0x1

    :goto_4
    if-gez v6, :cond_6

    const/16 v5, 0xb

    move-object/from16 v0, p0

    move v1, v5

    invoke-direct {v0, v1}, Lad;->Code(I)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    const/4 v6, 0x1

    invoke-virtual {v5, v6}, Ljava/io/ByteArrayOutputStream;->write(I)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    const/4 v6, 0x1

    invoke-virtual {v5, v6}, Ljava/io/ByteArrayOutputStream;->write(I)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    const/4 v6, 0x0

    invoke-virtual {v5, v6}, Ljava/io/ByteArrayOutputStream;->write(I)V

    sget-object v5, Lad;->s:[B

    invoke-static {v5}, Ln;->Code([B)Ld;

    sget-object v5, Lad;->s:[B

    const/4 v6, 0x0

    sget-object v7, Lad;->r:[B

    const/4 v8, 0x0

    const/16 v10, 0x8

    invoke-static {v5, v6, v7, v8, v10}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    sget-object v6, Lad;->r:[B

    invoke-virtual {v5, v6}, Ljava/io/OutputStream;->write([B)V

    invoke-static/range {p0 .. p0}, Ln;->Code(Ljava/lang/Runnable;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    move-object v5, v9

    :goto_5
    monitor-exit p0

    return-object v5

    :cond_5
    :try_start_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->b:[B

    move-object v6, v0

    const/4 v7, 0x0

    sget v10, Lad;->t:I

    shr-int/lit8 v10, v10, 0x10

    int-to-byte v10, v10

    aput-byte v10, v6, v7

    const/4 v7, 0x1

    sget v10, Lad;->t:I

    and-int/lit16 v10, v10, 0xff

    int-to-byte v10, v10

    aput-byte v10, v6, v7

    sget-object v7, Lad;->p:Ld;

    const/4 v10, 0x0

    const/4 v11, 0x2

    invoke-virtual {v7, v6, v10, v11}, Ld;->I([BII)V

    sget-object v7, Lad;->p:Ld;

    const/4 v10, 0x0

    invoke-virtual {v7, v6, v10}, Ld;->Code([BI)V

    new-instance v7, Ll;

    const/4 v10, 0x0

    const/16 v11, 0x20

    invoke-direct {v7, v6, v10, v11}, Ll;-><init>([BII)V

    move-object v0, v7

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->u:Ll;

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->u:Ll;

    move-object v7, v0

    sget-object v10, Lad;->r:[B

    const/4 v11, 0x0

    const/16 v12, 0x8

    invoke-virtual {v7, v10, v11, v12}, Ll;->Code([BII)V

    sget-object v7, Lad;->p:Ld;

    const/4 v10, 0x0

    invoke-virtual {v7, v6, v10}, Ld;->Code([BI)V

    new-instance v7, Ll;

    const/4 v10, 0x0

    const/16 v11, 0x20

    invoke-direct {v7, v6, v10, v11}, Ll;-><init>([BII)V

    move-object v0, v7

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->v:Ll;

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->v:Ll;

    move-object v7, v0

    sget-object v10, Lad;->r:[B

    const/4 v11, 0x0

    const/16 v12, 0x8

    invoke-virtual {v7, v10, v11, v12}, Ll;->Code([BII)V

    sget-object v7, Lad;->p:Ld;

    const/4 v10, 0x0

    invoke-virtual {v7, v6, v10}, Ld;->Code([BI)V

    new-instance v7, Lal;

    const/16 v10, 0x20

    invoke-direct {v7, v6, v10}, Lal;-><init>([BI)V

    move-object v0, v7

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->w:Lal;

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->w:Lal;

    move-object v7, v0

    const/4 v10, 0x0

    const/16 v11, 0x400

    invoke-virtual {v7, v6, v10, v11}, Lal;->Code([BII)V

    sget-object v7, Lad;->p:Ld;

    const/4 v10, 0x0

    invoke-virtual {v7, v6, v10}, Ld;->Code([BI)V

    new-instance v7, Lal;

    const/16 v10, 0x20

    invoke-direct {v7, v6, v10}, Lal;-><init>([BI)V

    move-object v0, v7

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->x:Lal;

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->x:Lal;

    move-object v7, v0

    const/4 v10, 0x0

    const/16 v11, 0x400

    invoke-virtual {v7, v6, v10, v11}, Lal;->Code([BII)V

    sget v6, Lad;->t:I

    add-int/lit8 v7, v6, 0x1

    sput v7, Lad;->t:I

    int-to-short v6, v6

    goto/16 :goto_4

    :cond_6
    new-instance v7, Ljava/lang/StringBuffer;

    invoke-direct {v7}, Ljava/lang/StringBuffer;-><init>()V

    const/4 v10, 0x0

    invoke-static {v10}, Ln;->Code(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v7, v10}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v7

    const-string v10, "\u0000"

    invoke-virtual {v7, v10}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v7

    sget-object v10, LCode;->I:Ljava/lang/String;

    invoke-virtual {v7, v10}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v7

    const-string v10, "\u0000"

    invoke-virtual {v7, v10}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/String;->getBytes()[B

    move-result-object v7

    array-length v7, v7

    add-int/lit8 v7, v7, 0x27

    sget-object v10, Lad;->q:[B

    array-length v10, v10

    add-int/2addr v7, v10

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lad;->a:Z

    move v10, v0

    if-eqz v10, :cond_a

    const/4 v10, 0x1

    invoke-static {v10}, Ln;->Code(I)Ljava/lang/String;

    move-result-object v10

    invoke-virtual {v10}, Ljava/lang/String;->length()I

    move-result v10

    :goto_6
    add-int/2addr v7, v10

    sget-object v10, Lad;->o:[B

    array-length v10, v10

    add-int/2addr v7, v10

    sget-object v10, Lad;->L:Lk;

    move-object v0, v10

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->K:Lk;

    const/4 v10, 0x0

    sput-object v10, Lad;->L:Lk;

    sget v10, Lad;->P:I

    if-lez v10, :cond_7

    const/4 v10, 0x0

    sput-object v10, Lad;->M:[B

    const/4 v10, 0x0

    move-object v0, v10

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->K:Lk;

    const/4 v10, 0x0

    sput v10, Lad;->P:I

    :cond_7
    sget-object v10, Lad;->M:[B

    if-eqz v10, :cond_b

    sget-object v10, Lad;->M:[B

    array-length v10, v10

    add-int/lit8 v10, v10, 0x8

    add-int/2addr v7, v10

    :goto_7
    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->K:Lk;

    move-object v10, v0

    if-nez v10, :cond_40

    add-int/lit8 v7, v7, 0x8

    move v10, v6

    move v11, v7

    :goto_8
    const/4 v6, 0x0

    const/4 v7, 0x6

    aput v7, p2, v6

    const/16 v6, 0x28

    const/4 v7, 0x0

    invoke-static {v7}, Ln;->Code(I)Ljava/lang/String;

    move-result-object v7

    aput-object v7, p1, v6

    const/16 v6, 0x21

    const/4 v7, 0x2

    invoke-static {v7}, Ln;->Code(I)Ljava/lang/String;

    move-result-object v7

    aput-object v7, p1, v6

    sget-object v6, Ln;->bE:[B

    if-nez v6, :cond_8

    const/4 v6, 0x0

    invoke-static {v6}, Ln;->I(Z)V

    :cond_8
    const/4 v6, 0x6

    sget-object v7, Ln;->bE:[B

    aput-object v7, p1, v6

    const/4 v6, 0x4

    const/4 v7, 0x0

    sput v7, Lad;->i:I

    const/4 v7, 0x0

    move v12, v7

    move v13, v6

    :goto_9
    const/16 v6, 0x3d

    if-ge v12, v6, :cond_14

    aget-object v6, p1, v12

    if-eqz v6, :cond_11

    aget-object v6, p1, v12

    instance-of v6, v6, [B

    if-eqz v6, :cond_d

    sget-object v6, Lad;->N:[Ljava/lang/Object;

    aget-object v6, v6, v12

    instance-of v6, v6, [B

    if-eqz v6, :cond_9

    aget-object v6, p1, v12

    check-cast v6, [B

    sget-object v7, Lad;->N:[Ljava/lang/Object;

    aget-object v7, v7, v12

    check-cast v7, [B

    invoke-static {v6, v7}, Ln;->I([B[B)Z

    move-result v6

    if-nez v6, :cond_d

    :cond_9
    aget-object v6, p1, v12

    check-cast v6, [B

    array-length v6, v6

    add-int/lit8 v6, v6, 0x5

    move v7, v13

    :goto_a
    add-int/2addr v6, v7

    :goto_b
    add-int/lit8 v7, v12, 0x1

    move v12, v7

    move v13, v6

    goto :goto_9

    :cond_a
    const/4 v10, 0x0

    goto/16 :goto_6

    :cond_b
    const/4 v10, 0x0

    :goto_c
    const/16 v11, 0x3d

    if-ge v10, v11, :cond_c

    sget-object v11, Lad;->N:[Ljava/lang/Object;

    const/4 v12, 0x0

    aput-object v12, v11, v10

    sget-object v11, Lad;->O:[I

    const/4 v12, 0x0

    aput v12, v11, v10

    add-int/lit8 v10, v10, 0x1

    goto :goto_c

    :cond_c
    const/4 v10, 0x0

    move-object v0, v10

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->K:Lk;

    const/4 v10, 0x0

    sput-boolean v10, Lad;->c:Z

    goto/16 :goto_7

    :cond_d
    aget-object v6, p1, v12

    instance-of v6, v6, Ljava/util/Hashtable;

    if-eqz v6, :cond_e

    aget-object v6, p1, v12

    check-cast v6, Ljava/util/Hashtable;

    invoke-virtual {v6}, Ljava/util/Hashtable;->size()I

    move-result v6

    if-eqz v6, :cond_e

    aget-object v6, p1, v12

    check-cast v6, Ljava/util/Hashtable;

    move-object v0, v6

    move-object/from16 v1, p0

    iput-object v0, v1, Lad;->U:Ljava/util/Hashtable;

    const/4 v6, 0x5

    sput v6, Lad;->i:I

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->U:Ljava/util/Hashtable;

    move-object v6, v0

    invoke-virtual {v6}, Ljava/util/Hashtable;->keys()Ljava/util/Enumeration;

    move-result-object v14

    :goto_d
    invoke-interface {v14}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v6

    if-eqz v6, :cond_3f

    invoke-interface {v14}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->U:Ljava/util/Hashtable;

    move-object v7, v0

    invoke-virtual {v7, v6}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, [Ljava/lang/Object;

    sget v15, Lad;->i:I

    invoke-static {v6}, Ln;->a(Ljava/lang/String;)I

    move-result v6

    add-int/lit8 v6, v6, 0x2

    add-int/2addr v6, v15

    sput v6, Lad;->i:I

    sget v15, Lad;->i:I

    const/4 v6, 0x0

    aget-object v6, v7, v6

    check-cast v6, Ljava/lang/String;

    invoke-static {v6}, Ln;->a(Ljava/lang/String;)I

    move-result v6

    add-int/lit8 v6, v6, 0x2

    add-int/2addr v6, v15

    sput v6, Lad;->i:I

    sget v15, Lad;->i:I

    const/4 v6, 0x1

    aget-object v6, v7, v6

    check-cast v6, Ljava/lang/Integer;

    invoke-virtual {v6}, Ljava/lang/Integer;->intValue()I

    move-result v6

    add-int/lit8 v6, v6, 0x4

    add-int/2addr v6, v15

    sput v6, Lad;->i:I

    goto :goto_d

    :cond_e
    sget-object v6, Lad;->N:[Ljava/lang/Object;

    aget-object v6, v6, v12

    if-eqz v6, :cond_f

    aget-object v6, p1, v12

    sget-object v7, Lad;->N:[Ljava/lang/Object;

    aget-object v7, v7, v12

    invoke-virtual {v6, v7}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_3f

    :cond_f
    aget-object v6, p1, v12

    instance-of v6, v6, Ljava/lang/String;

    if-eqz v6, :cond_3f

    aget-object v6, p1, v12

    check-cast v6, Ljava/lang/String;

    invoke-static {v6}, Ln;->a(Ljava/lang/String;)I

    move-result v6

    const/16 v7, 0xfe

    if-gt v6, v7, :cond_10

    const/4 v7, 0x2

    :goto_e
    add-int/2addr v6, v7

    move v7, v13

    goto/16 :goto_a

    :cond_10
    const/4 v7, 0x5

    goto :goto_e

    :cond_11
    sget-object v6, Lad;->O:[I

    aget v6, v6, v12

    aget v7, p2, v12

    if-ne v6, v7, :cond_12

    sget-object v6, Lad;->N:[Ljava/lang/Object;

    aget-object v6, v6, v12

    if-eqz v6, :cond_3f

    :cond_12
    aget v6, p2, v12

    const/16 v7, 0xfe

    if-gt v6, v7, :cond_13

    const/4 v6, 0x2

    move v7, v13

    goto/16 :goto_a

    :cond_13
    const/4 v6, 0x5

    move v7, v13

    goto/16 :goto_a

    :cond_14
    add-int/lit8 v6, v13, 0x10

    const v7, 0xfff9

    div-int v7, v13, v7

    mul-int/lit8 v7, v7, 0x8

    add-int/2addr v6, v7

    add-int v7, v11, v6

    const/4 v6, 0x0

    const-string v11, "myopera:logout"

    invoke-virtual {v5, v11}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v11

    if-nez v11, :cond_17

    const-string v11, "myopera:login"

    invoke-virtual {v5, v11}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v11

    if-nez v11, :cond_15

    const-string v11, "myopera:signup"

    invoke-virtual {v5, v11}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v11

    if-eqz v11, :cond_16

    :cond_15
    sget-boolean v11, Lad;->c:Z

    if-eqz v11, :cond_17

    sget v11, Lah;->b:I

    sget v12, Lah;->d:I

    if-ne v11, v12, :cond_17

    :cond_16
    sget-boolean v11, Lah;->J:Z

    if-eqz v11, :cond_2c

    sget-boolean v11, Lad;->c:Z

    if-eqz v11, :cond_17

    sget-boolean v11, Lah;->f:Z

    if-nez v11, :cond_17

    sget v11, Lah;->b:I

    sget v12, Lah;->c:I

    if-eq v11, v12, :cond_2c

    :cond_17
    sget-object v6, Ln;->bn:Ljava/util/Vector;

    invoke-static {v6}, Ln;->Code(Ljava/util/Vector;)V

    const-string v6, "myopera:login"

    invoke-virtual {v5, v6}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v6

    if-nez v6, :cond_18

    sget v6, Lah;->j:I

    and-int/lit8 v6, v6, 0x1

    if-eqz v6, :cond_20

    :cond_18
    const/4 v6, 0x1

    :goto_f
    const-string v11, "myopera:login"

    invoke-virtual {v5, v11}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v11

    if-nez v11, :cond_19

    sget v11, Lah;->j:I

    and-int/lit8 v11, v11, 0x2

    if-eqz v11, :cond_21

    :cond_19
    const/4 v11, 0x1

    :goto_10
    new-instance v12, LJ;

    invoke-direct {v12}, LJ;-><init>()V

    new-instance v14, Ljava/io/DataOutputStream;

    invoke-direct {v14, v12}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V

    const/4 v15, 0x6

    invoke-virtual {v14, v15}, Ljava/io/DataOutputStream;->write(I)V

    sget-object v15, Lah;->a:Ljava/lang/String;

    invoke-virtual {v14, v15}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    sget v15, Lah;->b:I

    invoke-virtual {v14, v15}, Ljava/io/DataOutputStream;->writeInt(I)V

    sget v15, Lah;->j:I

    const-string v16, "myopera:logout"

    move-object v0, v5

    move-object/from16 v1, v16

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v16

    if-eqz v16, :cond_22

    const/16 v16, 0x8

    :goto_11
    or-int v15, v15, v16

    invoke-virtual {v14, v15}, Ljava/io/DataOutputStream;->write(I)V

    sget-object v15, Lah;->B:Ljava/lang/String;

    invoke-virtual {v14, v15}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    sget-object v15, Lah;->C:Ljava/lang/String;

    invoke-virtual {v14, v15}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    invoke-virtual {v12}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v15

    const/16 v16, 0x0

    move-object v0, v14

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->writeShort(I)V

    const/16 v16, 0x0

    if-eqz v11, :cond_23

    sget-object v11, Ln;->bn:Ljava/util/Vector;

    invoke-virtual {v11}, Ljava/util/Vector;->size()I

    move-result v11

    :goto_12
    const/16 v17, 0x0

    if-eqz v6, :cond_24

    sget-object v6, Ln;->bo:Ljava/util/Vector;

    invoke-virtual {v6}, Ljava/util/Vector;->size()I

    move-result v6

    :goto_13
    add-int v18, v11, v6

    const/4 v6, 0x0

    const/16 v19, 0x0

    move/from16 v20, v16

    move/from16 v16, v19

    move/from16 v19, v17

    move/from16 v17, v6

    :goto_14
    move/from16 v0, v16

    move/from16 v1, v18

    if-ge v0, v1, :cond_2a

    move/from16 v0, v16

    move v1, v11

    if-ge v0, v1, :cond_25

    sget-object v6, Ln;->bn:Ljava/util/Vector;

    move-object v0, v6

    move/from16 v1, v16

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, [Ljava/lang/Object;

    move-object/from16 v21, v6

    :goto_15
    const/4 v6, 0x5

    move-object/from16 v0, v21

    move v1, v6

    invoke-static {v0, v1}, Ln;->I([Ljava/lang/Object;I)I

    move-result v6

    const/16 v22, 0x53

    move v0, v6

    move/from16 v1, v22

    if-eq v0, v1, :cond_29

    add-int/lit8 v20, v20, 0x1

    const/16 v22, 0x61

    move v0, v6

    move/from16 v1, v22

    if-ne v0, v1, :cond_1a

    const/4 v6, 0x5

    new-instance v17, Ljava/lang/Integer;

    const/16 v22, 0x41

    move-object/from16 v0, v17

    move/from16 v1, v22

    invoke-direct {v0, v1}, Ljava/lang/Integer;-><init>(I)V

    aput-object v17, v21, v6

    const/16 v6, 0x41

    const/16 v17, 0x1

    :cond_1a
    if-nez v19, :cond_26

    const/16 v22, 0x0

    :goto_16
    move-object v0, v14

    move/from16 v1, v22

    invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->write(I)V

    invoke-virtual {v14, v6}, Ljava/io/DataOutputStream;->write(I)V

    if-eqz v19, :cond_27

    const/16 v6, 0x1c

    move/from16 v22, v6

    :goto_17
    move-object v0, v14

    move/from16 v1, v22

    invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->write(I)V

    if-nez v19, :cond_1b

    const/4 v6, 0x7

    aget-object v6, v21, v6

    check-cast v6, [B

    const/16 v23, 0x0

    const/16 v24, 0x10

    move-object v0, v14

    move-object v1, v6

    move/from16 v2, v23

    move/from16 v3, v24

    invoke-virtual {v0, v1, v2, v3}, Ljava/io/DataOutputStream;->write([BII)V

    :cond_1b
    and-int/lit8 v6, v22, 0x2

    if-eqz v6, :cond_1c

    const/16 v6, 0x8

    aget-object v6, v21, v6

    check-cast v6, [B

    const/16 v23, 0x0

    const/16 v24, 0x10

    move-object v0, v14

    move-object v1, v6

    move/from16 v2, v23

    move/from16 v3, v24

    invoke-virtual {v0, v1, v2, v3}, Ljava/io/DataOutputStream;->write([BII)V

    :cond_1c
    and-int/lit8 v6, v22, 0x4

    if-eqz v6, :cond_1d

    const/4 v6, 0x0

    aget-object v6, v21, v6

    check-cast v6, Ljava/lang/String;

    invoke-virtual {v14, v6}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    :cond_1d
    and-int/lit8 v6, v22, 0x8

    if-eqz v6, :cond_1e

    const/4 v6, 0x1

    aget-object v6, v21, v6

    check-cast v6, Ljava/lang/String;

    invoke-virtual {v14, v6}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    :cond_1e
    and-int/lit8 v6, v22, 0x10

    if-eqz v6, :cond_29

    const/4 v6, 0x2

    aget-object v6, v21, v6

    check-cast v6, [B

    if-eqz v6, :cond_1f

    move-object v0, v6

    array-length v0, v0

    move/from16 v21, v0

    if-nez v21, :cond_28

    :cond_1f
    const/4 v6, 0x0

    invoke-virtual {v14, v6}, Ljava/io/DataOutputStream;->writeShort(I)V

    move/from16 v6, v17

    move/from16 v17, v20

    :goto_18
    add-int/lit8 v16, v16, 0x1

    move/from16 v20, v17

    move/from16 v17, v6

    goto/16 :goto_14

    :cond_20
    const/4 v6, 0x0

    goto/16 :goto_f

    :cond_21
    const/4 v11, 0x0

    goto/16 :goto_10

    :cond_22
    const/16 v16, 0x0

    goto/16 :goto_11

    :cond_23
    const/4 v11, 0x0

    goto/16 :goto_12

    :cond_24
    const/4 v6, 0x0

    goto/16 :goto_13

    :cond_25
    sget-object v6, Ln;->bo:Ljava/util/Vector;

    sub-int v19, v16, v11

    move-object v0, v6

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, [Ljava/lang/Object;

    const/16 v19, 0x1

    move-object/from16 v21, v6

    goto/16 :goto_15

    :cond_26
    sub-int v22, v16, v11

    add-int/lit8 v22, v22, 0x1

    goto/16 :goto_16

    :cond_27
    const/16 v6, 0x1f

    move/from16 v22, v6

    goto/16 :goto_17

    :cond_28
    move-object v0, v6

    array-length v0, v0

    move/from16 v21, v0

    move-object v0, v14

    move/from16 v1, v21

    invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->writeShort(I)V

    const/16 v21, 0x0

    move-object v0, v6

    array-length v0, v0

    move/from16 v22, v0

    move-object v0, v14

    move-object v1, v6

    move/from16 v2, v21

    move/from16 v3, v22

    invoke-virtual {v0, v1, v2, v3}, Ljava/io/DataOutputStream;->write([BII)V

    :cond_29
    move/from16 v6, v17

    move/from16 v17, v20

    goto :goto_18

    :cond_2a
    invoke-virtual {v12}, LJ;->Code()[B

    move-result-object v6

    move/from16 v0, v20

    move-object v1, v6

    move v2, v15

    invoke-static {v0, v1, v2}, Ln;->Code(I[BI)V

    if-eqz v17, :cond_2b

    sget-object v6, Ln;->bn:Ljava/util/Vector;

    const/4 v11, 0x0

    invoke-static {v6, v11}, Ln;->Code(Ljava/util/Vector;Z)V

    sget-object v6, Ln;->bo:Ljava/util/Vector;

    const/4 v11, 0x0

    invoke-static {v6, v11}, Ln;->Code(Ljava/util/Vector;Z)V

    :cond_2b
    invoke-virtual {v12}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v6

    add-int/lit8 v6, v6, 0x19

    invoke-virtual {v12}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v11

    const v14, 0xfff9

    div-int/2addr v11, v14

    mul-int/lit8 v11, v11, 0x8

    add-int/2addr v6, v11

    add-int/2addr v6, v7

    move v7, v6

    move-object v6, v12

    :cond_2c
    move-object/from16 v0, p0

    move v1, v7

    invoke-direct {v0, v1}, Lad;->Code(I)V

    new-instance v11, Ljava/io/DataOutputStream;

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v12, v0

    invoke-direct {v11, v12}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V

    const/4 v12, 0x0

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lad;->Q:Z

    move v14, v0

    if-nez v14, :cond_3e

    const/4 v12, 0x1

    invoke-virtual {v11, v12}, Ljava/io/DataOutputStream;->write(I)V

    const/4 v12, 0x1

    invoke-virtual {v11, v12}, Ljava/io/DataOutputStream;->write(I)V

    const/4 v12, 0x1

    invoke-virtual {v11, v12}, Ljava/io/DataOutputStream;->write(I)V

    sget-object v12, Lad;->s:[B

    const/4 v14, 0x0

    const/16 v15, 0x8

    invoke-virtual {v11, v12, v14, v15}, Ljava/io/DataOutputStream;->write([BII)V

    sget-object v12, Lad;->q:[B

    invoke-virtual {v11, v12}, Ljava/io/OutputStream;->write([B)V

    invoke-virtual {v11, v10}, Ljava/io/DataOutputStream;->writeShort(I)V

    sget-object v10, Lad;->o:[B

    invoke-virtual {v11, v10}, Ljava/io/OutputStream;->write([B)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v10, v0

    invoke-virtual {v10}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v10

    move-object/from16 v0, p0

    iget-boolean v0, v0, Lad;->a:Z

    move v12, v0

    if-eqz v12, :cond_2f

    const/4 v12, 0x1

    invoke-static {v12}, Ln;->Code(I)Ljava/lang/String;

    move-result-object v12

    :goto_19
    invoke-virtual {v11, v12}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->u:Ll;

    move-object v12, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v14, v0

    invoke-virtual {v14}, LJ;->Code()[B

    move-result-object v14

    const/4 v15, 0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object/from16 v16, v0

    invoke-virtual/range {v16 .. v16}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v16

    const/16 v17, 0x2

    sub-int v16, v16, v17

    move-object v0, v12

    move-object v1, v14

    move v2, v15

    move/from16 v3, v16

    invoke-virtual {v0, v1, v2, v3}, Ll;->Code([BII)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->v:Ll;

    move-object v12, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v14, v0

    invoke-virtual {v14}, LJ;->Code()[B

    move-result-object v14

    const/4 v15, 0x2

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object/from16 v16, v0

    invoke-virtual/range {v16 .. v16}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v16

    const/16 v17, 0x2

    sub-int v16, v16, v17

    move-object v0, v12

    move-object v1, v14

    move v2, v15

    move/from16 v3, v16

    invoke-virtual {v0, v1, v2, v3}, Ll;->Code([BII)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->u:Ll;

    move-object v12, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v14, v0

    invoke-virtual {v14}, LJ;->Code()[B

    move-result-object v14

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v15, v0

    invoke-virtual {v15}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v15

    const/16 v16, 0x10

    move-object v0, v12

    move-object v1, v14

    move v2, v15

    move/from16 v3, v16

    invoke-virtual {v0, v1, v2, v3}, Ll;->I([BII)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v12, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v14, v0

    invoke-virtual {v14}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v14

    add-int/lit8 v14, v14, 0x10

    invoke-virtual {v12, v14}, LJ;->Code(I)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->w:Lal;

    move-object v12, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v14, v0

    invoke-virtual {v14}, LJ;->Code()[B

    move-result-object v14

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v15, v0

    invoke-virtual {v15}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v15

    sub-int/2addr v15, v10

    invoke-virtual {v12, v14, v10, v15}, Lal;->Code([BII)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v10, v0

    invoke-virtual {v10}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v10

    new-instance v12, Ljava/lang/StringBuffer;

    invoke-direct {v12}, Ljava/lang/StringBuffer;-><init>()V

    const/4 v14, 0x0

    invoke-static {v14}, Ln;->Code(I)Ljava/lang/String;

    move-result-object v14

    invoke-virtual {v12, v14}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v12

    const-string v14, "\u0000"

    invoke-virtual {v12, v14}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v12

    sget-object v14, LCode;->I:Ljava/lang/String;

    invoke-virtual {v12, v14}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v12

    const-string v14, "\u0000"

    invoke-virtual {v12, v14}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v12

    invoke-virtual {v12}, Ljava/lang/String;->getBytes()[B

    move-result-object v12

    const/16 v14, 0x80

    const/4 v15, 0x2

    move-object v0, v12

    array-length v0, v0

    move/from16 v16, v0

    move-object/from16 v0, p0

    move v1, v14

    move v2, v15

    move/from16 v3, v16

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    invoke-virtual {v11, v12}, Ljava/io/OutputStream;->write([B)V

    sget-object v12, Lad;->M:[B

    if-eqz v12, :cond_2d

    const/16 v12, 0xf

    const/4 v14, 0x0

    const/16 v15, 0x8

    move-object/from16 v0, p0

    move v1, v12

    move v2, v14

    move v3, v15

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    sget-object v12, Lad;->M:[B

    invoke-virtual {v11, v12}, Ljava/io/OutputStream;->write([B)V

    :cond_2d
    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->K:Lk;

    move-object v12, v0

    if-nez v12, :cond_2e

    const/16 v12, 0x10

    const/4 v14, 0x0

    const/4 v15, 0x0

    move-object/from16 v0, p0

    move v1, v12

    move v2, v14

    move v3, v15

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    :cond_2e
    :goto_1a
    if-eqz v6, :cond_31

    const/4 v12, 0x5

    const/4 v14, 0x0

    const/4 v15, 0x1

    move-object/from16 v0, p0

    move v1, v12

    move v2, v14

    move v3, v15

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    const/4 v12, 0x1

    invoke-virtual {v11, v12}, Ljava/io/DataOutputStream;->write(I)V

    invoke-virtual {v6}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v12

    const/4 v14, 0x0

    :goto_1b
    if-ge v14, v12, :cond_30

    sub-int v15, v12, v14

    const v16, 0xfff9

    invoke-static/range {v15 .. v16}, Ljava/lang/Math;->min(II)I

    move-result v15

    const/16 v16, 0xa

    const/16 v17, 0x0

    move-object/from16 v0, p0

    move/from16 v1, v16

    move/from16 v2, v17

    move v3, v15

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    invoke-virtual {v6}, LJ;->Code()[B

    move-result-object v16

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object/from16 v17, v0

    invoke-virtual/range {v17 .. v17}, LJ;->Code()[B

    move-result-object v17

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object/from16 v18, v0

    invoke-virtual/range {v18 .. v18}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v18

    move-object/from16 v0, v16

    move v1, v14

    move-object/from16 v2, v17

    move/from16 v3, v18

    move v4, v15

    invoke-static {v0, v1, v2, v3, v4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object/from16 v16, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object/from16 v17, v0

    invoke-virtual/range {v17 .. v17}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v17

    add-int v15, v15, v17

    move-object/from16 v0, v16

    move v1, v15

    invoke-virtual {v0, v1}, LJ;->Code(I)V

    const v15, 0xfff9

    add-int/2addr v14, v15

    goto :goto_1b

    :cond_2f
    const-string v12, ""

    goto/16 :goto_19

    :cond_30
    const/4 v6, 0x6

    const/4 v12, 0x0

    const/4 v14, 0x0

    move-object/from16 v0, p0

    move v1, v6

    move v2, v12

    move v3, v14

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    const/4 v6, 0x1

    sput-boolean v6, Lad;->c:Z

    sget v6, Lah;->b:I

    sput v6, Lah;->d:I

    :cond_31
    const-string v6, "myopera:logout"

    invoke-virtual {v6, v5}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-eqz v5, :cond_32

    const/4 v5, 0x0

    sput-boolean v5, Lad;->c:Z

    :cond_32
    sget v5, Lad;->P:I

    add-int/lit8 v5, v5, 0x1

    sput v5, Lad;->P:I

    const/4 v5, 0x5

    const/4 v6, 0x0

    move-object/from16 v0, p0

    move v1, v5

    move v2, v8

    move v3, v6

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    const/16 v5, 0x8

    const v6, 0xfff9

    invoke-static {v13, v6}, Ljava/lang/Math;->min(II)I

    move-result v6

    move-object/from16 v0, p0

    move v1, v5

    move v2, v8

    move v3, v6

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    const/4 v5, 0x4

    sub-int v5, v13, v5

    sget v6, Lad;->i:I

    add-int/2addr v5, v6

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->writeInt(I)V

    const/4 v5, 0x0

    move v12, v5

    :goto_1c
    const/16 v5, 0x3d

    if-ge v12, v5, :cond_3c

    aget-object v5, p1, v12

    if-eqz v5, :cond_39

    aget-object v5, p1, v12

    instance-of v5, v5, [B

    if-eqz v5, :cond_35

    sget-object v5, Lad;->N:[Ljava/lang/Object;

    aget-object v5, v5, v12

    instance-of v5, v5, [B

    if-eqz v5, :cond_33

    aget-object v5, p1, v12

    check-cast v5, [B

    sget-object v6, Lad;->N:[Ljava/lang/Object;

    aget-object v6, v6, v12

    check-cast v6, [B

    invoke-static {v5, v6}, Ln;->I([B[B)Z

    move-result v5

    if-nez v5, :cond_35

    :cond_33
    or-int/lit8 v5, v12, 0x40

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->write(I)V

    aget-object v5, p1, v12

    check-cast v5, [B

    array-length v5, v5

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->writeInt(I)V

    aget-object v5, p1, v12

    check-cast v5, [B

    invoke-virtual {v11, v5}, Ljava/io/OutputStream;->write([B)V

    :cond_34
    :goto_1d
    sget-object v5, Lad;->N:[Ljava/lang/Object;

    aget-object v6, p1, v12

    aput-object v6, v5, v12

    sget-object v5, Lad;->O:[I

    aget v6, p2, v12

    aput v6, v5, v12

    add-int/lit8 v5, v12, 0x1

    move v12, v5

    goto :goto_1c

    :cond_35
    aget-object v5, p1, v12

    instance-of v5, v5, Ljava/util/Hashtable;

    if-eqz v5, :cond_36

    aget-object v5, p1, v12

    check-cast v5, Ljava/util/Hashtable;

    invoke-virtual {v5}, Ljava/util/Hashtable;->size()I

    move-result v5

    if-gtz v5, :cond_34

    :cond_36
    sget-object v5, Lad;->N:[Ljava/lang/Object;

    aget-object v5, v5, v12

    if-eqz v5, :cond_37

    aget-object v5, p1, v12

    sget-object v6, Lad;->N:[Ljava/lang/Object;

    aget-object v6, v6, v12

    invoke-virtual {v5, v6}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z

    move-result v5

    if-nez v5, :cond_34

    :cond_37
    aget-object v5, p1, v12

    instance-of v5, v5, Ljava/lang/String;

    if-eqz v5, :cond_34

    aget-object v5, p1, v12

    check-cast v5, Ljava/lang/String;

    invoke-static {v5}, Ln;->a(Ljava/lang/String;)I

    move-result v5

    const/16 v6, 0xfe

    if-gt v5, v6, :cond_38

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    invoke-virtual {v5}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v6

    aget-object v5, p1, v12

    check-cast v5, Ljava/lang/String;

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    invoke-virtual {v5}, LJ;->Code()[B

    move-result-object v5

    int-to-byte v14, v12

    aput-byte v14, v5, v6

    goto :goto_1d

    :cond_38
    or-int/lit8 v5, v12, 0x40

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->write(I)V

    const/4 v5, 0x0

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->writeShort(I)V

    aget-object v5, p1, v12

    check-cast v5, Ljava/lang/String;

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    goto :goto_1d

    :cond_39
    sget-object v5, Lad;->O:[I

    aget v5, v5, v12

    aget v6, p2, v12

    if-ne v5, v6, :cond_3a

    sget-object v5, Lad;->N:[Ljava/lang/Object;

    aget-object v5, v5, v12

    if-eqz v5, :cond_34

    :cond_3a
    aget v5, p2, v12

    const/16 v6, 0xfe

    if-gt v5, v6, :cond_3b

    or-int/lit16 v6, v12, 0x80

    invoke-virtual {v11, v6}, Ljava/io/DataOutputStream;->write(I)V

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->write(I)V

    goto/16 :goto_1d

    :cond_3b
    or-int/lit16 v6, v12, 0xc0

    invoke-virtual {v11, v6}, Ljava/io/DataOutputStream;->write(I)V

    invoke-virtual {v11, v5}, Ljava/io/DataOutputStream;->writeInt(I)V

    goto/16 :goto_1d

    :cond_3c
    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    invoke-virtual {v5}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v5

    sub-int/2addr v5, v13

    move v6, v13

    :goto_1e
    const v11, 0xfff9

    if-le v6, v11, :cond_3d

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v11, v0

    invoke-virtual {v11}, LJ;->Code()[B

    move-result-object v11

    const v12, 0xfff9

    add-int/2addr v12, v5

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v13, v0

    invoke-virtual {v13}, LJ;->Code()[B

    move-result-object v13

    const v14, 0xfff9

    add-int/2addr v14, v5

    add-int/lit8 v14, v14, 0x8

    const v15, 0xfff9

    sub-int v15, v6, v15

    invoke-static {v11, v12, v13, v14, v15}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    const v11, 0x10001

    add-int/2addr v5, v11

    const v11, 0xfff9

    sub-int/2addr v6, v11

    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v11, v0

    const/16 v12, 0x8

    sub-int v12, v5, v12

    invoke-virtual {v11, v12}, LJ;->Code(I)V

    const/16 v11, 0x8

    const v12, 0xfff9

    invoke-static {v6, v12}, Ljava/lang/Math;->min(II)I

    move-result v12

    move-object/from16 v0, p0

    move v1, v11

    move v2, v8

    move v3, v12

    invoke-direct {v0, v1, v2, v3}, Lad;->Code(III)V

    goto :goto_1e

    :cond_3d
    move-object/from16 v0, p0

    iget-object v0, v0, Lad;->E:LJ;

    move-object v5, v0

    invoke-virtual {v5, v7}, LJ;->Code(I)V

    move-object/from16 v0, p0

    move v1, v10

    invoke-direct {v0, v1}, Lad;->I(I)V

    const/4 v5, 0x1

    move v0, v5

    move-object/from16 v1, p0

    iput-boolean v0, v1, Lad;->Q:Z

    invoke-static/range {p0 .. p0}, Ln;->Code(Ljava/lang/Runnable;)V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    move-object v5, v9

    goto/16 :goto_5

    :cond_3e
    move v10, v12

    goto/16 :goto_1a

    :cond_3f
    move v6, v13

    goto/16 :goto_b

    :cond_40
    move v10, v6

    move v11, v7

    goto/16 :goto_8

    :cond_41
    move v10, v7

    move v11, v6

    goto/16 :goto_8
.end method

.method public static declared-synchronized I()V
    .locals 6

    const-class v0, Lad;

    monitor-enter v0

    const/4 v1, 0x0

    :try_start_0
    sput-object v1, Lad;->n:[I

    const/4 v1, 0x0

    sput-object v1, Lad;->m:[I

    const/4 v1, 0x0

    sput-object v1, Lad;->o:[B

    sget-object v1, Lad;->s:[B

    const/4 v2, 0x0

    sget-object v3, Lad;->r:[B

    const/4 v4, 0x0

    const/16 v5, 0x8

    invoke-static {v1, v2, v3, v4, v5}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1
.end method

.method private I(I)V
    .locals 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    move v0, p1

    :goto_0
    iget-object v1, p0, Lad;->E:LJ;

    invoke-virtual {v1}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v1

    if-ge v0, v1, :cond_0

    iget-object v1, p0, Lad;->E:LJ;

    invoke-virtual {v1}, LJ;->Code()[B

    move-result-object v1

    add-int/lit8 v2, v0, 0x4

    invoke-static {v1, v2}, Ln;->I([BI)I

    move-result v1

    iget-object v2, p0, Lad;->u:Ll;

    iget v3, p0, Lad;->X:I

    add-int/lit8 v4, v3, 0x1

    iput v4, p0, Lad;->X:I

    invoke-virtual {v2, v3}, Ll;->Code(I)V

    iget-object v2, p0, Lad;->u:Ll;

    iget-object v3, p0, Lad;->E:LJ;

    invoke-virtual {v3}, LJ;->Code()[B

    move-result-object v3

    add-int/lit8 v4, v0, 0x4

    add-int/lit8 v5, v1, 0x2

    invoke-virtual {v2, v3, v4, v5}, Ll;->Code([BII)V

    iget-object v2, p0, Lad;->u:Ll;

    iget-object v3, p0, Lad;->E:LJ;

    invoke-virtual {v3}, LJ;->Code()[B

    move-result-object v3

    const/4 v4, 0x4

    invoke-virtual {v2, v3, v0, v4}, Ll;->I([BII)V

    add-int/lit8 v1, v1, 0x6

    add-int/2addr v0, v1

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lad;->w:Lal;

    iget-object v1, p0, Lad;->E:LJ;

    invoke-virtual {v1}, LJ;->Code()[B

    move-result-object v1

    iget-object v2, p0, Lad;->E:LJ;

    invoke-virtual {v2}, Ljava/io/ByteArrayOutputStream;->size()I

    move-result v2

    sub-int/2addr v2, p1

    invoke-virtual {v0, v1, p1, v2}, Lal;->Code([BII)V

    return-void
.end method

.method private I(II)V
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    iget-object v0, p0, Lad;->A:Ljava/io/DataInputStream;

    iget-object v1, p0, Lad;->b:[B

    invoke-virtual {v0, v1, p1, p2}, Ljava/io/DataInputStream;->readFully([BII)V

    sget-wide v0, Ln;->bf:J

    int-to-long v2, p2

    add-long/2addr v0, v2

    sput-wide v0, Ln;->bf:J

    sget-wide v0, Ln;->bg:J

    int-to-long v2, p2

    add-long/2addr v0, v2

    sput-wide v0, Ln;->bg:J

    return-void
.end method

.method private J()V
    .locals 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    iget-object v0, p0, Lad;->E:LJ;

    invoke-virtual {v0}, LJ;->Code()[B

    move-result-object v0

    const/4 v1, 0x0

    iput-object v1, p0, Lad;->E:LJ;

    const/4 v1, 0x1

    iput v1, p0, Lad;->g:I

    iget-object v1, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-virtual {v1, v0}, Ljava/io/OutputStream;->write([B)V

    const/4 v1, 0x2

    iput v1, p0, Lad;->g:I

    sget-wide v1, Ln;->bf:J

    array-length v3, v0

    int-to-long v3, v3

    add-long/2addr v1, v3

    sput-wide v1, Ln;->bf:J

    sget-wide v1, Ln;->bg:J

    array-length v0, v0

    int-to-long v3, v0

    add-long v0, v1, v3

    sput-wide v0, Ln;->bg:J

    iget-object v0, p0, Lad;->z:Ljavax/microedition/io/Connection;

    instance-of v0, v0, Ljavax/microedition/io/SocketConnection;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-virtual {v0}, Ljava/io/DataOutputStream;->flush()V

    :cond_0
    const/4 v0, 0x3

    iput v0, p0, Lad;->g:I

    return-void
.end method

.method private declared-synchronized J(I)V
    .locals 2

    monitor-enter p0

    :try_start_0
    invoke-direct {p0, p1}, Lad;->B(I)Lh;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v1, p0, Lad;->R:Ljava/util/Vector;

    invoke-virtual {v1, v0}, Ljava/util/Vector;->removeElement(Ljava/lang/Object;)Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_0
    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method private Z()V
    .locals 15
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    iget-object v0, p0, Lad;->U:Ljava/util/Hashtable;

    if-nez v0, :cond_0

    :goto_0
    return-void

    :cond_0
    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Thread;->getPriority()I

    move-result v3

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Ljava/lang/Thread;->setPriority(I)V

    const/4 v0, 0x0

    sput v0, Lad;->j:I

    iget-object v0, p0, Lad;->E:LJ;

    invoke-virtual {v0}, LJ;->Code()[B

    move-result-object v0

    sget-wide v1, Ln;->bf:J

    array-length v4, v0

    int-to-long v4, v4

    add-long/2addr v1, v4

    sput-wide v1, Ln;->bf:J

    sget-wide v1, Ln;->bg:J

    array-length v4, v0

    int-to-long v4, v4

    add-long/2addr v1, v4

    sput-wide v1, Ln;->bg:J

    iget-object v1, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-virtual {v1, v0}, Ljava/io/OutputStream;->write([B)V

    const/16 v0, 0xd

    invoke-direct {p0, v0}, Lad;->Code(I)V

    const/16 v0, 0x8

    iget v1, p0, Lad;->V:I

    const/4 v2, 0x5

    invoke-direct {p0, v0, v1, v2}, Lad;->Code(III)V

    iget v0, p0, Lad;->V:I

    invoke-direct {p0, v0}, Lad;->B(I)Lh;

    move-result-object v4

    new-instance v0, Ljava/io/DataOutputStream;

    iget-object v1, p0, Lad;->E:LJ;

    invoke-direct {v0, v1}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V

    const/16 v1, 0x49

    invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->write(I)V

    sget v1, Lad;->i:I

    const/4 v2, 0x5

    sub-int/2addr v1, v2

    invoke-virtual {v0, v1}, Ljava/io/DataOutputStream;->writeInt(I)V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lad;->I(I)V

    const/4 v0, 0x0

    const/4 v1, 0x0

    iget-object v2, p0, Lad;->U:Ljava/util/Hashtable;

    :try_start_0
    invoke-virtual {v2}, Ljava/util/Hashtable;->keys()Ljava/util/Enumeration;
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    move-result-object v5

    move-object v6, v1

    move-object v7, v0

    :goto_1
    :try_start_1
    iget-boolean v0, v4, Lh;->Z:Z

    if-nez v0, :cond_5

    invoke-interface {v5}, Ljava/util/Enumeration;->hasMoreElements()Z

    move-result v0

    if-eqz v0, :cond_5

    iget-object v0, p0, Lad;->E:LJ;

    invoke-virtual {v0}, LJ;->Code()[B

    move-result-object v0

    sget-wide v1, Ln;->bf:J

    array-length v8, v0

    int-to-long v8, v8

    add-long/2addr v1, v8

    sput-wide v1, Ln;->bf:J

    sget-wide v1, Ln;->bg:J

    array-length v8, v0

    int-to-long v8, v8

    add-long/2addr v1, v8

    sput-wide v1, Ln;->bg:J

    iget-object v1, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-virtual {v1, v0}, Ljava/io/OutputStream;->write([B)V

    invoke-interface {v5}, Ljava/util/Enumeration;->nextElement()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    iget-object v1, p0, Lad;->U:Ljava/util/Hashtable;

    invoke-virtual {v1, v0}, Ljava/util/Hashtable;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, [Ljava/lang/Object;

    invoke-static {v0}, Ln;->a(Ljava/lang/String;)I

    move-result v8

    const/4 v2, 0x0

    aget-object v2, v1, v2

    check-cast v2, Ljava/lang/String;

    invoke-static {v2}, Ln;->a(Ljava/lang/String;)I

    move-result v2

    add-int/2addr v2, v8

    add-int/lit8 v2, v2, 0x8

    add-int/lit8 v8, v2, 0x8

    invoke-direct {p0, v8}, Lad;->Code(I)V

    const/16 v8, 0x8

    iget v9, p0, Lad;->V:I

    invoke-direct {p0, v8, v9, v2}, Lad;->Code(III)V

    new-instance v2, Ljava/io/DataOutputStream;

    iget-object v8, p0, Lad;->E:LJ;

    invoke-direct {v2, v8}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V

    invoke-virtual {v2, v0}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    const/4 v0, 0x0

    aget-object v0, v1, v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v0}, Ljava/io/DataOutputStream;->writeUTF(Ljava/lang/String;)V

    const/4 v0, 0x1

    aget-object v0, v1, v0

    check-cast v0, Ljava/lang/Integer;

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v8

    invoke-virtual {v2, v8}, Ljava/io/DataOutputStream;->writeInt(I)V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lad;->I(I)V

    const/4 v0, 0x2

    aget-object v0, v1, v0

    instance-of v0, v0, Ljava/lang/String;

    if-eqz v0, :cond_3

    sget-object v0, LBrowser;->Z:Lah;

    iget-object v2, v0, Lah;->N:Lm;

    const/4 v0, 0x2

    aget-object v0, v1, v0

    check-cast v0, Ljava/lang/String;

    invoke-virtual {v2, v0}, Lm;->I(Ljava/lang/String;)Ljavax/microedition/io/InputConnection;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_2

    move-result-object v0

    :try_start_2
    invoke-interface {v0}, Ljavax/microedition/io/InputConnection;->openInputStream()Ljava/io/InputStream;
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_3

    move-result-object v1

    move-object v14, v1

    move-object v1, v0

    move-object v0, v14

    :goto_2
    const/16 v2, 0x1000

    :try_start_3
    new-array v2, v2, [B

    const/4 v6, 0x0

    :goto_3
    iget-boolean v7, v4, Lh;->Z:Z

    if-nez v7, :cond_4

    invoke-virtual {v0, v2}, Ljava/io/InputStream;->read([B)I

    move-result v7

    const/4 v9, -0x1

    if-le v7, v9, :cond_4

    if-ge v6, v8, :cond_4

    add-int/2addr v6, v7

    sget v9, Lad;->j:I

    add-int/2addr v9, v7

    sput v9, Lad;->j:I

    iget-object v9, p0, Lad;->E:LJ;

    invoke-virtual {v9}, LJ;->Code()[B

    move-result-object v9

    sget-wide v10, Ln;->bf:J

    array-length v12, v9

    int-to-long v12, v12

    add-long/2addr v10, v12

    sput-wide v10, Ln;->bf:J

    sget-wide v10, Ln;->bg:J

    array-length v12, v9

    int-to-long v12, v12

    add-long/2addr v10, v12

    sput-wide v10, Ln;->bg:J

    iget-object v10, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-virtual {v10, v9}, Ljava/io/OutputStream;->write([B)V

    iget-object v9, p0, Lad;->z:Ljavax/microedition/io/Connection;

    instance-of v9, v9, Ljavax/microedition/io/HttpConnection;

    if-eqz v9, :cond_1

    sget-boolean v9, Ln;->am:Z

    if-eqz v9, :cond_2

    :cond_1
    iget-object v9, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-virtual {v9}, Ljava/io/DataOutputStream;->flush()V

    :cond_2
    const v9, 0x3a980

    invoke-direct {p0, v9}, Lad;->C(I)V

    add-int/lit8 v9, v7, 0x8

    invoke-direct {p0, v9}, Lad;->Code(I)V

    const/16 v9, 0x8

    iget v10, p0, Lad;->V:I

    invoke-direct {p0, v9, v10, v7}, Lad;->Code(III)V

    new-instance v9, Ljava/io/DataOutputStream;

    iget-object v10, p0, Lad;->E:LJ;

    invoke-direct {v9, v10}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V

    const/4 v10, 0x0

    invoke-virtual {v9, v2, v10, v7}, Ljava/io/DataOutputStream;->write([BII)V

    const/4 v7, 0x0

    invoke-direct {p0, v7}, Lad;->I(I)V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_0

    goto :goto_3

    :catchall_0
    move-exception v2

    move-object v14, v2

    move-object v2, v1

    move-object v1, v0

    move-object v0, v14

    :goto_4
    invoke-static {v1}, Ln;->Code(Ljava/lang/Object;)V

    invoke-static {v2}, Ln;->Code(Ljava/lang/Object;)V

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v1

    invoke-virtual {v1, v3}, Ljava/lang/Thread;->setPriority(I)V

    const/4 v1, 0x0

    iput-object v1, p0, Lad;->U:Ljava/util/Hashtable;

    const/4 v1, -0x1

    sput v1, Lad;->j:I

    sget-object v1, LBrowser;->Z:Lah;

    invoke-virtual {v1}, Lah;->c()V

    throw v0

    :cond_3
    :try_start_4
    new-instance v2, Ljava/io/ByteArrayInputStream;

    const/4 v0, 0x2

    aget-object v0, v1, v0

    check-cast v0, [B

    invoke-direct {v2, v0}, Ljava/io/ByteArrayInputStream;-><init>([B)V
    :try_end_4
    .catchall {:try_start_4 .. :try_end_4} :catchall_2

    move-object v0, v2

    move-object v1, v7

    goto/16 :goto_2

    :cond_4
    :try_start_5
    invoke-static {v0}, Ln;->Code(Ljava/lang/Object;)V

    invoke-static {v1}, Ln;->Code(Ljava/lang/Object;)V
    :try_end_5
    .catchall {:try_start_5 .. :try_end_5} :catchall_0

    move-object v6, v0

    move-object v7, v1

    goto/16 :goto_1

    :cond_5
    invoke-static {v6}, Ln;->Code(Ljava/lang/Object;)V

    invoke-static {v7}, Ln;->Code(Ljava/lang/Object;)V

    invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/Thread;->setPriority(I)V

    const/4 v0, 0x0

    iput-object v0, p0, Lad;->U:Ljava/util/Hashtable;

    const/4 v0, -0x1

    sput v0, Lad;->j:I

    sget-object v0, LBrowser;->Z:Lah;

    invoke-virtual {v0}, Lah;->c()V

    goto/16 :goto_0

    :catchall_1
    move-exception v2

    move-object v14, v2

    move-object v2, v0

    move-object v0, v14

    goto :goto_4

    :catchall_2
    move-exception v0

    move-object v1, v6

    move-object v2, v7

    goto :goto_4

    :catchall_3
    move-exception v1

    move-object v2, v0

    move-object v0, v1

    move-object v1, v6

    goto :goto_4
.end method

.method private declared-synchronized Z(I)V
    .locals 3

    monitor-enter p0

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    :try_start_0
    iget-object v0, p0, Lad;->R:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->size()I

    move-result v0

    if-ge v1, v0, :cond_0

    iget-object v0, p0, Lad;->R:Ljava/util/Vector;

    invoke-virtual {v0, v1}, Ljava/util/Vector;->elementAt(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lh;

    iget v2, v0, Lh;->B:I

    or-int/2addr v2, p1

    iput v2, v0, Lh;->B:I

    const/4 v2, 0x1

    iput-boolean v2, v0, Lh;->Z:Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    iget-object v0, p0, Lad;->R:Ljava/util/Vector;

    invoke-virtual {v0}, Ljava/util/Vector;->removeAllElements()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method private static declared-synchronized a()V
    .locals 10

    const/4 v9, 0x2

    const/4 v8, 0x1

    const/4 v7, 0x0

    const/16 v6, 0x20

    const-class v0, Lad;

    monitor-enter v0

    :try_start_0
    invoke-static {}, Lad;->C()Z

    move-result v1

    if-nez v1, :cond_0

    sget-object v1, Lad;->n:[I

    if-nez v1, :cond_2

    :cond_0
    invoke-static {}, Lad;->I()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :cond_1
    :goto_0
    monitor-exit v0

    return-void

    :cond_2
    :try_start_1
    sget-object v1, Lad;->m:[I

    if-eqz v1, :cond_9

    new-instance v1, Lr;

    invoke-direct {v1}, Lr;-><init>()V

    sget-object v2, Lad;->m:[I

    sget-object v3, Lad;->k:[I

    invoke-static {v2, v3}, Lo;->Code([I[I)[I

    move-result-object v2

    invoke-static {v2}, Ln;->Code([I)[B

    move-result-object v2

    const/4 v3, 0x0

    aget-byte v3, v2, v3

    if-nez v3, :cond_3

    const/4 v3, 0x1

    aget-byte v3, v2, v3

    if-ne v3, v8, :cond_3

    array-length v3, v2

    sub-int/2addr v3, v6

    sub-int/2addr v3, v8

    aget-byte v3, v2, v3

    if-eqz v3, :cond_4

    :cond_3
    invoke-static {}, Lad;->I()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v1

    monitor-exit v0

    throw v1

    :cond_4
    move v3, v9

    :goto_1
    :try_start_2
    array-length v4, v2

    sub-int/2addr v4, v6

    sub-int/2addr v4, v9

    if-ge v3, v4, :cond_6

    aget-byte v4, v2, v3

    const/4 v5, -0x1

    if-eq v4, v5, :cond_5

    invoke-static {}, Lad;->I()V

    goto :goto_0

    :cond_5
    add-int/lit8 v3, v3, 0x1

    goto :goto_1

    :cond_6
    sget-wide v3, Lad;->l:J

    shr-long/2addr v3, v6

    long-to-int v3, v3

    invoke-virtual {v1, v3}, Lr;->Code(I)V

    sget-wide v3, Lad;->l:J

    long-to-int v3, v3

    invoke-virtual {v1, v3}, Lr;->Code(I)V

    sget-object v3, Lad;->n:[I

    invoke-static {v3}, Ln;->Code([I)[B

    move-result-object v3

    const/4 v4, 0x0

    sget-object v5, Lad;->n:[I

    array-length v5, v5

    shl-int/lit8 v5, v5, 0x2

    invoke-virtual {v1, v3, v4, v5}, Lr;->Code([BII)V

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Lr;->Code([BI)V

    move v1, v7

    :goto_2
    if-ge v1, v6, :cond_8

    aget-byte v3, v2, v1

    array-length v4, v2

    add-int/2addr v4, v1

    sub-int/2addr v4, v6

    aget-byte v4, v2, v4

    if-eq v3, v4, :cond_7

    invoke-static {}, Lad;->I()V

    goto :goto_0

    :cond_7
    add-int/lit8 v1, v1, 0x1

    goto :goto_2

    :cond_8
    const/4 v1, 0x0

    sput-object v1, Lad;->m:[I

    :cond_9
    sget-object v1, Lad;->o:[B

    if-nez v1, :cond_1

    sget-object v1, Lad;->s:[B

    invoke-static {v1}, Ln;->Code([B)Ld;

    move-result-object v1

    sget-object v2, Lad;->n:[I

    array-length v2, v2

    shl-int/lit8 v2, v2, 0x2

    new-array v2, v2, [B

    move v3, v9

    :goto_3
    array-length v4, v2

    sub-int/2addr v4, v6

    if-ge v3, v4, :cond_b

    :goto_4
    aget-byte v4, v2, v3

    if-nez v4, :cond_a

    invoke-virtual {v1, v2, v3}, Ld;->Code([BI)V

    goto :goto_4

    :cond_a
    add-int/lit8 v3, v3, 0x1

    goto :goto_3

    :cond_b
    const/4 v3, 0x0

    const/4 v4, 0x0

    aput-byte v4, v2, v3

    const/4 v3, 0x1

    const/4 v4, 0x2

    aput-byte v4, v2, v3

    array-length v3, v2

    sub-int/2addr v3, v6

    sub-int/2addr v3, v8

    const/4 v4, 0x0

    aput-byte v4, v2, v3

    array-length v3, v2

    sub-int/2addr v3, v6

    invoke-virtual {v1, v2, v3}, Ld;->Code([BI)V

    sget-object v3, Lad;->p:Ld;

    array-length v4, v2

    sub-int/2addr v4, v6

    const/16 v5, 0x20

    invoke-virtual {v3, v2, v4, v5}, Ld;->Code([BII)V

    array-length v3, v2

    sub-int/2addr v3, v6

    const/16 v4, 0x20

    invoke-virtual {v1, v2, v3, v4}, Ld;->Code([BII)V

    const/4 v1, 0x0

    array-length v3, v2

    invoke-static {v2, v1, v3}, Ln;->Code([BII)[I

    move-result-object v1

    sget-object v2, Lad;->n:[I

    invoke-static {v1, v2}, Lo;->Code([I[I)[I

    move-result-object v1

    invoke-static {v1}, Ln;->Code([I)[B

    move-result-object v1

    sput-object v1, Lad;->o:[B

    const/4 v1, 0x0

    sput v1, Lad;->t:I
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto/16 :goto_0
.end method


# virtual methods
.method public final declared-synchronized Code(II)V
    .locals 2

    monitor-enter p0

    :try_start_0
    invoke-direct {p0, p1}, Lad;->B(I)Lh;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-boolean v1, v0, Lh;->J:Z
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_1

    if-eqz v1, :cond_1

    :cond_0
    :goto_0
    monitor-exit p0

    return-void

    :cond_1
    const/4 v1, 0x7

    if-ne p2, v1, :cond_2

    :try_start_1
    invoke-direct {p0, p1}, Lad;->J(I)V

    :cond_2
    const/4 v1, 0x1

    iput-boolean v1, v0, Lh;->Z:Z

    const/4 v1, 0x1

    iput-boolean v1, v0, Lh;->J:Z

    iget-object v0, p0, Lad;->z:Ljavax/microedition/io/Connection;

    instance-of v0, v0, Ljavax/microedition/io/HttpConnection;
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_1

    if-nez v0, :cond_0

    const/16 v0, 0x8

    :try_start_2
    invoke-direct {p0, v0}, Lad;->Code(I)V

    const/4 v0, 0x0

    invoke-direct {p0, p2, p1, v0}, Lad;->Code(III)V

    const/4 v0, 0x0

    invoke-direct {p0, v0}, Lad;->I(I)V

    invoke-direct {p0}, Lad;->J()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto :goto_0

    :catchall_0
    move-exception v0

    :try_start_3
    invoke-direct {p0}, Lad;->B()V
    :try_end_3
    .catchall {:try_start_3 .. :try_end_3} :catchall_1

    goto :goto_0

    :catchall_1
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public final Code(Lh;)V
    .locals 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    iget v0, p0, Lad;->H:I

    iget-wide v1, p0, Lad;->G:J

    int-to-long v3, v0

    add-long/2addr v1, v3

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    sub-long/2addr v1, v3

    const-wide/16 v3, 0x0

    cmp-long v1, v1, v3

    if-gez v1, :cond_1

    const/16 v1, 0x2710

    if-ne v0, v1, :cond_0

    const/4 v0, 0x2

    :goto_0
    iput v0, p1, Lh;->B:I

    const/4 v0, 0x1

    iput-boolean v0, p1, Lh;->C:Z

    invoke-direct {p0}, Lad;->B()V

    new-instance v0, Ljava/io/IOException;

    invoke-direct {v0}, Ljava/io/IOException;-><init>()V

    throw v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0

    :cond_1
    return-void
.end method

.method public final Code(Z)V
    .locals 13
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    const/4 v12, 0x6

    const/4 v11, 0x4

    const/4 v10, 0x1

    const/16 v9, 0x8

    const/4 v8, 0x0

    :cond_0
    :goto_0
    iput v10, p0, Lad;->f:I

    invoke-direct {p0, v8, v12}, Lad;->I(II)V

    const/4 v0, 0x2

    iput v0, p0, Lad;->f:I

    const v0, 0x3a980

    invoke-direct {p0, v0}, Lad;->C(I)V

    iget-object v0, p0, Lad;->x:Lal;

    iget-object v1, p0, Lad;->b:[B

    invoke-virtual {v0, v1, v8, v12}, Lal;->Code([BII)V

    iget-object v0, p0, Lad;->b:[B

    invoke-static {v0, v11}, Ln;->I([BI)I

    move-result v0

    const/16 v1, 0x3f6

    if-le v0, v1, :cond_1

    new-instance v0, Ljava/io/IOException;

    invoke-direct {v0}, Ljava/io/IOException;-><init>()V

    throw v0

    :cond_1
    const/4 v1, 0x3

    iput v1, p0, Lad;->f:I

    invoke-direct {p0, v12, v0}, Lad;->I(II)V

    iput v11, p0, Lad;->f:I

    iget-object v1, p0, Lad;->x:Lal;

    iget-object v2, p0, Lad;->b:[B

    invoke-virtual {v1, v2, v12, v0}, Lal;->Code([BII)V

    iget-object v1, p0, Lad;->v:Ll;

    iget v2, p0, Lad;->W:I

    add-int/lit8 v3, v2, 0x1

    iput v3, p0, Lad;->W:I

    invoke-virtual {v1, v2}, Ll;->Code(I)V

    iget-object v1, p0, Lad;->v:Ll;

    iget-object v2, p0, Lad;->b:[B

    add-int/lit8 v3, v0, 0x2

    invoke-virtual {v1, v2, v11, v3}, Ll;->Code([BII)V

    iget-object v1, p0, Lad;->v:Ll;

    iget-object v2, p0, Lad;->b:[B

    const/16 v3, 0x3fc

    invoke-virtual {v1, v2, v3, v11}, Ll;->I([BII)V

    iget-object v1, p0, Lad;->b:[B

    const/16 v2, 0x3fc

    aget-byte v1, v1, v2

    iget-object v2, p0, Lad;->b:[B

    aget-byte v2, v2, v8

    if-ne v1, v2, :cond_2

    iget-object v1, p0, Lad;->b:[B

    const/16 v2, 0x3fd

    aget-byte v1, v1, v2

    iget-object v2, p0, Lad;->b:[B

    aget-byte v2, v2, v10

    if-ne v1, v2, :cond_2

    iget-object v1, p0, Lad;->b:[B

    const/16 v2, 0x3fe

    aget-byte v1, v1, v2

    iget-object v2, p0, Lad;->b:[B

    const/4 v3, 0x2

    aget-byte v2, v2, v3

    if-ne v1, v2, :cond_2

    iget-object v1, p0, Lad;->b:[B

    const/16 v2, 0x3ff

    aget-byte v1, v1, v2

    iget-object v2, p0, Lad;->b:[B

    const/4 v3, 0x3

    aget-byte v2, v2, v3

    if-eq v1, v2, :cond_3

    :cond_2
    new-instance v0, Ljava/io/IOException;

    invoke-direct {v0}, Ljava/io/IOException;-><init>()V

    throw v0

    :cond_3
    iget-object v1, p0, Lad;->b:[B

    aget-byte v1, v1, v12

    iget-object v2, p0, Lad;->b:[B

    const/4 v3, 0x7

    aget-byte v2, v2, v3

    add-int/lit8 v0, v0, -0x2

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v3

    sput-wide v3, Lad;->F:J

    packed-switch v1, :pswitch_data_0

    :pswitch_0
    goto/16 :goto_0

    :pswitch_1
    invoke-direct {p0, v10}, Lad;->Z(I)V

    invoke-direct {p0}, Lad;->B()V

    goto/16 :goto_0

    :pswitch_2
    iget-object v3, p0, Lad;->K:Lk;

    iput-object p0, v3, Lk;->I:Lad;

    iget-object v3, p0, Lad;->K:Lk;

    iget-object v4, p0, Lad;->b:[B

    invoke-virtual {v3, v4, v9, v0}, Lk;->Code([BII)V

    if-eqz p1, :cond_4

    return-void

    :cond_4
    :pswitch_3
    invoke-direct {p0, v2}, Lad;->B(I)Lh;

    move-result-object v2

    move-object v3, v2

    move v4, v0

    move v0, v8

    move v2, v9

    :cond_5
    if-nez v3, :cond_7

    const/16 v0, 0xb

    if-ne v1, v0, :cond_0

    :goto_1
    iget-object v0, p0, Lad;->K:Lk;

    const/4 v1, 0x0

    const/16 v2, 0x400

    invoke-virtual {v0, v1, v8, v2}, Lk;->I([BII)I

    move-result v0

    if-lez v0, :cond_0

    goto :goto_1

    :cond_6
    const/16 v5, 0x3e8

    invoke-static {v3, v5}, Ln;->Code(Ljava/lang/Object;I)V

    :cond_7
    iget-object v5, v3, Lh;->a:[B

    if-nez v5, :cond_8

    iget-boolean v5, v3, Lh;->Z:Z

    if-eqz v5, :cond_6

    const/4 v3, 0x0

    :goto_2
    if-eqz v0, :cond_5

    goto/16 :goto_0

    :cond_8
    iget v0, v3, Lh;->c:I

    invoke-static {v0, v4}, Ljava/lang/Math;->min(II)I

    move-result v0

    const/16 v5, 0xa

    if-ne v1, v5, :cond_a

    iget-object v5, p0, Lad;->b:[B

    iget-object v6, v3, Lh;->a:[B

    iget v7, v3, Lh;->b:I

    invoke-static {v5, v2, v6, v7, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    if-ne v0, v4, :cond_9

    move v5, v10

    :goto_3
    iget v6, v3, Lh;->d:I

    add-int/2addr v6, v0

    iput v6, v3, Lh;->d:I

    :goto_4
    iput v0, v3, Lh;->c:I

    const/4 v6, 0x0

    iput-object v6, v3, Lh;->a:[B

    invoke-static {v3}, Ln;->I(Ljava/lang/Object;)V

    add-int/2addr v2, v0

    sub-int v0, v4, v0

    move v4, v0

    move v0, v5

    goto :goto_2

    :cond_9
    move v5, v8

    goto :goto_3

    :cond_a
    iget-object v0, p0, Lad;->K:Lk;

    iget-object v5, v3, Lh;->a:[B

    iget v6, v3, Lh;->b:I

    iget v7, v3, Lh;->c:I

    invoke-virtual {v0, v5, v6, v7}, Lk;->I([BII)I

    move-result v0

    if-nez v0, :cond_b

    move v5, v10

    :goto_5
    iget v6, v3, Lh;->d:I

    iget-object v7, p0, Lad;->K:Lk;

    iget v7, v7, Lk;->Code:I

    add-int/2addr v6, v7

    iput v6, v3, Lh;->d:I

    goto :goto_4

    :cond_b
    move v5, v8

    goto :goto_5

    :pswitch_4
    const/4 v0, 0x7

    invoke-virtual {p0, v2, v0}, Lad;->Code(II)V

    goto/16 :goto_0

    :pswitch_5
    invoke-direct {p0, v2}, Lad;->J(I)V

    goto/16 :goto_0

    :pswitch_6
    iget-object v0, p0, Lad;->b:[B

    invoke-static {v0, v9}, Ln;->Code([BI)Ljava/lang/String;

    move-result-object v0

    sget-object v1, LBrowser;->Z:Lah;

    const-string v2, "Server says"

    invoke-virtual {v1, v2, v0}, Lah;->Code(Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :pswitch_7
    sget v0, Lad;->P:I

    sub-int/2addr v0, v10

    invoke-static {v0, v8}, Ljava/lang/Math;->max(II)I

    move-result v0

    sput v0, Lad;->P:I

    invoke-static {v8}, Ln;->I(Z)V

    goto/16 :goto_0

    :pswitch_8
    iget-boolean v0, p0, Lad;->a:Z

    if-eqz v0, :cond_0

    sget-object v0, Lad;->M:[B

    if-eqz v0, :cond_c

    iget-object v0, p0, Lad;->b:[B

    sget-object v1, Lad;->M:[B

    invoke-static {v0, v9, v1, v8, v9}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    invoke-direct {p0, v11}, Lad;->Z(I)V

    goto/16 :goto_0

    :cond_c
    new-array v0, v9, [B

    sput-object v0, Lad;->M:[B

    iget-object v0, p0, Lad;->b:[B

    sget-object v1, Lad;->M:[B

    invoke-static {v0, v9, v1, v8, v9}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    goto/16 :goto_0

    :pswitch_9
    new-instance v0, Lk;

    const v1, 0x8000

    invoke-direct {v0, v1}, Lk;-><init>(I)V

    iput-object v0, p0, Lad;->K:Lk;

    goto/16 :goto_0

    :pswitch_a
    iget-object v0, p0, Lad;->b:[B

    aget-byte v0, v0, v9

    new-instance v1, Lh;

    invoke-direct {v1}, Lh;-><init>()V

    iget-object v3, p0, Lad;->R:Ljava/util/Vector;

    invoke-virtual {v3, v1}, Ljava/util/Vector;->addElement(Ljava/lang/Object;)V

    iput-object p0, v1, Lh;->Code:Lad;

    iput v2, v1, Lh;->I:I

    if-ne v0, v10, :cond_d

    new-instance v0, Lag;

    const/16 v2, 0x1e

    invoke-direct {v0, v2}, Lag;-><init>(I)V

    iput-object v1, v0, Lag;->B:Ljava/io/InputStream;

    invoke-static {v0}, Ln;->Code(Ljava/lang/Runnable;)V

    goto/16 :goto_0

    :cond_d
    invoke-virtual {v1}, Lh;->close()V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x4
        :pswitch_1
        :pswitch_a
        :pswitch_4
        :pswitch_5
        :pswitch_0
        :pswitch_7
        :pswitch_3
        :pswitch_2
        :pswitch_6
        :pswitch_0
        :pswitch_0
        :pswitch_8
        :pswitch_0
        :pswitch_9
    .end packed-switch
.end method

.method public final I(Lh;)V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lad;->K:Lk;

    sput-object v0, Lad;->L:Lk;

    iget-boolean v0, p0, Lad;->a:Z

    if-nez v0, :cond_0

    invoke-direct {p0}, Lad;->B()V

    sput-object v1, Lad;->M:[B

    sput-object v1, Lad;->L:Lk;

    :cond_0
    return-void
.end method

.method public final run()V
    .locals 13

    const/4 v12, 0x2

    const/4 v11, -0x1

    const/4 v10, 0x0

    const/4 v9, 0x1

    sget-boolean v0, Ln;->ar:Z

    if-eqz v0, :cond_0

    sput-boolean v10, Ln;->ar:Z

    :try_start_0
    new-instance v0, Laa;

    invoke-direct {v0, p0}, Laa;-><init>(Lad;)V

    invoke-static {v0}, Ln;->Code(Ljava/lang/Runnable;)V

    const/16 v1, 0x7530

    invoke-static {v0, v1}, Ln;->Code(Ljava/lang/Object;I)V

    const/16 v1, 0x1388

    invoke-static {v0, v1}, Ln;->Code(Ljava/lang/Object;I)V

    invoke-static {v0}, Ln;->Code(Ljava/lang/Runnable;)V

    const/16 v1, 0x7530

    invoke-static {v0, v1}, Ln;->Code(Ljava/lang/Object;I)V

    const/16 v1, 0x1388

    invoke-static {v0, v1}, Ln;->Code(Ljava/lang/Object;I)V

    :cond_0
    sget-object v0, LCode;->d:[Ljava/lang/String;

    sget v1, Lad;->B:I

    aget-object v0, v0, v1

    sget-boolean v1, Lad;->I:Z

    if-eqz v1, :cond_2

    const/16 v1, 0x7530

    :goto_0
    invoke-direct {p0, v1}, Lad;->C(I)V

    iget-object v1, p0, Lad;->z:Ljavax/microedition/io/Connection;

    if-eqz v1, :cond_3

    move v1, v9

    :goto_1
    const-string v2, "socket://"

    invoke-virtual {v0, v2}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_7

    iget-object v2, p0, Lad;->D:Ljava/io/DataOutputStream;

    if-nez v2, :cond_5

    const/4 v2, 0x1

    iput v2, p0, Lad;->e:I

    const/4 v2, 0x3

    sget-boolean v3, Ln;->aq:Z

    if-nez v3, :cond_4

    move v3, v9

    :goto_2
    invoke-static {v0, v2, v3}, Ljavax/microedition/io/Connector;->open(Ljava/lang/String;IZ)Ljavax/microedition/io/Connection;

    move-result-object v0

    check-cast v0, Ljavax/microedition/io/SocketConnection;

    iput-object v0, p0, Lad;->z:Ljavax/microedition/io/Connection;

    const/4 v2, 0x2

    iput v2, p0, Lad;->e:I

    const/4 v2, 0x1

    const/4 v3, 0x0

    invoke-interface {v0, v2, v3}, Ljavax/microedition/io/SocketConnection;->setSocketOption(BI)V

    const/4 v2, 0x3

    iput v2, p0, Lad;->e:I

    invoke-interface {v0}, Ljavax/microedition/io/OutputConnection;->openDataOutputStream()Ljava/io/DataOutputStream;

    move-result-object v2

    iput-object v2, p0, Lad;->D:Ljava/io/DataOutputStream;

    const/4 v2, 0x4

    iput v2, p0, Lad;->e:I

    invoke-interface {v0}, Ljavax/microedition/io/InputConnection;->openDataInputStream()Ljava/io/DataInputStream;

    move-result-object v0

    iput-object v0, p0, Lad;->A:Ljava/io/DataInputStream;

    const/4 v0, 0x5

    iput v0, p0, Lad;->e:I

    :goto_3
    invoke-direct {p0}, Lad;->Z()V

    invoke-direct {p0}, Lad;->J()V

    :cond_1
    :goto_4
    if-eqz v1, :cond_19

    :goto_5
    return-void

    :cond_2
    const v1, 0x3a980

    goto :goto_0

    :cond_3
    move v1, v10

    goto :goto_1

    :cond_4
    move v3, v10

    goto :goto_2

    :cond_5
    const/16 v0, 0x2710

    invoke-direct {p0, v0}, Lad;->C(I)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    goto :goto_3

    :catchall_0
    move-exception v0

    iget-object v1, p0, Lad;->d:Ljava/lang/String;

    if-nez v1, :cond_6

    new-instance v1, Ljava/lang/StringBuffer;

    invoke-direct {v1}, Ljava/lang/StringBuffer;-><init>()V

    iget v2, p0, Lad;->e:I

    shl-int/lit8 v2, v2, 0x8

    iget v3, p0, Lad;->f:I

    shl-int/lit8 v3, v3, 0x4

    add-int/2addr v2, v3

    iget v3, p0, Lad;->g:I

    add-int/2addr v2, v3

    const/16 v3, 0x10

    invoke-static {v2, v3}, Ljava/lang/Integer;->toString(II)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v1

    const/16 v2, 0xa

    invoke-virtual {v1, v2}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v1

    const-string v2, ": "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lad;->d:Ljava/lang/String;

    :cond_6
    invoke-direct {p0}, Lad;->B()V

    goto :goto_5

    :cond_7
    const/16 v2, 0x9

    :try_start_1
    iput v2, p0, Lad;->e:I

    iget-object v2, p0, Lad;->S:Ljava/lang/String;

    iget-object v3, p0, Lad;->T:Ljava/lang/String;

    if-nez v2, :cond_b

    const-string v2, ""

    :goto_6
    sget-boolean v3, Lad;->C:Z

    if-eqz v3, :cond_21

    new-instance v3, Ljava/lang/StringBuffer;

    invoke-direct {v3}, Ljava/lang/StringBuffer;-><init>()V

    invoke-virtual {v3, v0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    move-object v3, v0

    :goto_7
    const/4 v0, 0x3

    sget-boolean v4, Ln;->aq:Z

    if-nez v4, :cond_15

    move v4, v9

    :goto_8
    invoke-static {v3, v0, v4}, Ljavax/microedition/io/Connector;->open(Ljava/lang/String;IZ)Ljavax/microedition/io/Connection;

    move-result-object v0

    check-cast v0, Ljavax/microedition/io/HttpConnection;

    iput-object v0, p0, Lad;->z:Ljavax/microedition/io/Connection;

    const/16 v4, 0xa

    iput v4, p0, Lad;->e:I

    const-string v4, "POST"

    invoke-interface {v0, v4}, Ljavax/microedition/io/HttpConnection;->setRequestMethod(Ljava/lang/String;)V

    const-string v4, "Content-Type"

    const-string v5, "application/xml"

    invoke-interface {v0, v4, v5}, Ljavax/microedition/io/HttpConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    const-string v4, "10.0.0.172"

    invoke-virtual {v3, v4}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v3

    if-eq v3, v11, :cond_8

    const-string v3, "X-Online-Host"

    const-string v4, ""

    invoke-interface {v0, v3, v4}, Ljavax/microedition/io/HttpConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    :cond_8
    sget-boolean v3, Lad;->C:Z

    if-eqz v3, :cond_9

    const-string v3, "X-OperaMini-URL"

    invoke-interface {v0, v3, v2}, Ljavax/microedition/io/HttpConnection;->setRequestProperty(Ljava/lang/String;Ljava/lang/String;)V

    :cond_9
    const/16 v2, 0xb

    iput v2, p0, Lad;->e:I

    invoke-interface {v0}, Ljavax/microedition/io/OutputConnection;->openDataOutputStream()Ljava/io/DataOutputStream;

    move-result-object v2

    iput-object v2, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-direct {p0}, Lad;->Z()V

    invoke-direct {p0}, Lad;->J()V

    iget-object v2, p0, Lad;->D:Ljava/io/DataOutputStream;

    invoke-virtual {v2}, Ljava/io/DataOutputStream;->close()V

    const/4 v2, 0x0

    iput-object v2, p0, Lad;->D:Ljava/io/DataOutputStream;

    const/16 v2, 0xc

    iput v2, p0, Lad;->e:I

    invoke-interface {v0}, Ljavax/microedition/io/InputConnection;->openDataInputStream()Ljava/io/DataInputStream;

    move-result-object v2

    iput-object v2, p0, Lad;->A:Ljava/io/DataInputStream;

    const/16 v2, 0xd

    iput v2, p0, Lad;->e:I

    invoke-interface {v0}, Ljavax/microedition/io/HttpConnection;->getResponseCode()I

    move-result v0

    const/16 v2, 0x1f6

    if-ne v0, v2, :cond_a

    sget-boolean v2, Lad;->I:Z

    if-nez v2, :cond_16

    const/4 v2, 0x1

    sput-boolean v2, Lad;->I:Z

    const/4 v2, -0x1

    sput v2, Lad;->J:I

    :goto_9
    const/16 v2, 0x10

    invoke-direct {p0, v2}, Lad;->Z(I)V

    invoke-direct {p0}, Lad;->B()V

    :cond_a
    const/16 v2, 0x193

    if-ne v0, v2, :cond_1

    new-instance v0, Ljava/lang/StringBuffer;

    invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V

    :goto_a
    iget-object v2, p0, Lad;->A:Ljava/io/DataInputStream;

    invoke-virtual {v2}, Ljava/io/DataInputStream;->read()I

    move-result v2

    if-eq v2, v11, :cond_17

    int-to-char v2, v2

    invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    goto :goto_a

    :cond_b
    invoke-static {v2}, Ln;->B(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    const-string v4, "https://"

    invoke-virtual {v2, v4}, Ljava/lang/String;->indexOf(Ljava/lang/String;)I

    move-result v4

    const/16 v5, 0x2f

    add-int/lit8 v6, v4, 0x8

    invoke-virtual {v2, v5, v6}, Ljava/lang/String;->indexOf(II)I

    move-result v5

    new-instance v6, Ljava/lang/StringBuffer;

    invoke-direct {v6, v2}, Ljava/lang/StringBuffer;-><init>(Ljava/lang/String;)V

    if-eqz v3, :cond_c

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v7

    if-lez v7, :cond_c

    if-ne v4, v11, :cond_c

    const/16 v7, 0x3f

    invoke-virtual {v6, v7}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;

    move-result-object v7

    invoke-virtual {v7, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;

    :cond_c
    if-eq v4, v11, :cond_d

    if-eq v5, v11, :cond_d

    invoke-virtual {v6}, Ljava/lang/StringBuffer;->length()I

    move-result v3

    invoke-virtual {v6, v5, v3}, Ljava/lang/StringBuffer;->delete(II)Ljava/lang/StringBuffer;

    :cond_d
    invoke-virtual {v6}, Ljava/lang/StringBuffer;->length()I

    move-result v3

    sub-int/2addr v3, v9

    move v4, v10

    move v5, v10

    :goto_b
    if-le v3, v11, :cond_14

    invoke-virtual {v6, v3}, Ljava/lang/StringBuffer;->charAt(I)C

    move-result v7

    const/16 v8, 0x21

    if-lt v7, v8, :cond_e

    const/16 v8, 0x7e

    if-le v7, v8, :cond_10

    :cond_e
    invoke-virtual {v6, v3}, Ljava/lang/StringBuffer;->deleteCharAt(I)Ljava/lang/StringBuffer;

    :cond_f
    :goto_c
    add-int/lit8 v3, v3, -0x1

    goto :goto_b

    :cond_10
    const/16 v8, 0x3d

    if-ne v7, v8, :cond_12

    move v5, v9

    :cond_11
    :goto_d
    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v7

    if-le v3, v7, :cond_f

    if-eqz v5, :cond_f

    if-eqz v4, :cond_f

    invoke-virtual {v6, v3}, Ljava/lang/StringBuffer;->deleteCharAt(I)Ljava/lang/StringBuffer;

    goto :goto_c

    :cond_12
    const/16 v8, 0x26

    if-ne v7, v8, :cond_13

    move v4, v10

    move v5, v10

    goto :goto_d

    :cond_13
    const/16 v8, 0x2e

    if-ne v7, v8, :cond_11

    move v4, v9

    goto :goto_d

    :cond_14
    const/16 v2, 0x7f

    invoke-virtual {v6, v2}, Ljava/lang/StringBuffer;->setLength(I)V

    invoke-virtual {v6}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    goto/16 :goto_6

    :cond_15
    move v4, v10

    goto/16 :goto_8

    :cond_16
    const/4 v2, 0x1

    sput-boolean v2, Lad;->Z:Z

    goto/16 :goto_9

    :cond_17
    invoke-direct {p0}, Lad;->B()V

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->length()I

    move-result v2

    if-lez v2, :cond_18

    invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_e
    sput-object v0, Lad;->h:Ljava/lang/String;

    sget-object v0, LBrowser;->Z:Lah;

    const/16 v2, 0x3e

    invoke-static {v2}, Ln;->Z(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v2}, Lah;->Z(Ljava/lang/String;)V

    goto/16 :goto_4

    :cond_18
    const/4 v0, 0x0

    goto :goto_e

    :cond_19
    const/4 v0, 0x0

    const/4 v1, 0x5

    invoke-direct {p0, v0, v1}, Lad;->I(II)V

    iget-object v0, p0, Lad;->b:[B

    const/4 v1, 0x0

    aget-byte v0, v0, v1

    sparse-switch v0, :sswitch_data_0

    :cond_1a
    :goto_f
    invoke-direct {p0}, Lad;->B()V

    goto/16 :goto_5

    :sswitch_0
    invoke-static {}, Lad;->I()V

    iget-object v0, p0, Lad;->b:[B

    const/4 v1, 0x1

    aget-byte v0, v0, v1

    and-int/lit16 v0, v0, 0xff

    shl-int/lit8 v0, v0, 0x2

    add-int/lit16 v0, v0, 0x80

    iget-object v1, p0, Lad;->b:[B

    const/4 v2, 0x2

    aget-byte v1, v1, v2

    and-int/lit16 v1, v1, 0xff

    const/4 v2, 0x5

    add-int/lit16 v3, v1, 0xa6

    add-int/2addr v3, v0

    invoke-direct {p0, v2, v3}, Lad;->I(II)V

    add-int/lit8 v2, v1, 0x1

    new-array v2, v2, [B

    sput-object v2, Lad;->q:[B

    iget-object v2, p0, Lad;->b:[B

    const/4 v3, 0x2

    sget-object v4, Lad;->q:[B

    const/4 v5, 0x0

    add-int/lit8 v6, v1, 0x1

    invoke-static {v2, v3, v4, v5, v6}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    iget-object v2, p0, Lad;->b:[B

    add-int/lit8 v3, v1, 0x3

    const/16 v4, 0xa0

    invoke-static {v2, v3, v4}, Ln;->Code([BII)[I

    move-result-object v2

    iget-object v3, p0, Lad;->b:[B

    add-int/lit16 v4, v1, 0xa3

    invoke-static {v3, v4, v0}, Ln;->Code([BII)[I

    move-result-object v3

    iget-object v4, p0, Lad;->b:[B

    add-int/lit16 v1, v1, 0xa3

    add-int/2addr v0, v1

    invoke-static {v4, v0}, Ln;->Z([BI)I

    move-result v1

    int-to-long v5, v1

    const/16 v1, 0x20

    shl-long/2addr v5, v1

    add-int/lit8 v0, v0, 0x4

    invoke-static {v4, v0}, Ln;->Z([BI)I

    move-result v0

    int-to-long v0, v0

    const-wide v7, 0xffffffffL

    and-long/2addr v0, v7

    or-long/2addr v0, v5

    sput-wide v0, Lad;->l:J

    sput-object v2, Lad;->m:[I

    sput-object v3, Lad;->n:[I

    const/4 v0, 0x1

    sput-boolean v0, Ln;->bc:Z

    invoke-static {}, Lad;->Code()Ljava/lang/String;

    move-result-object v0

    const-string v1, "socket://"

    invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1c

    move v0, v9

    :goto_10
    sput v0, Lad;->Code:I

    sget-boolean v0, Lad;->I:Z

    if-eqz v0, :cond_1b

    :cond_1b
    const/4 v0, 0x0

    sput-boolean v0, Lad;->I:Z

    const/4 v0, 0x1

    sput-boolean v0, Ln;->bb:Z

    const/4 v0, 0x0

    invoke-static {v0}, Ln;->Code(Z)V

    invoke-static {}, Lad;->C()Z

    move-result v0

    if-eqz v0, :cond_1d

    invoke-static {}, Lad;->I()V

    const/16 v0, 0x57

    invoke-static {v0}, Ln;->I(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lad;->d:Ljava/lang/String;

    :goto_11
    invoke-direct {p0}, Lad;->B()V

    goto/16 :goto_5

    :cond_1c
    move v0, v12

    goto :goto_10

    :cond_1d
    const/16 v0, 0x8

    invoke-direct {p0, v0}, Lad;->Z(I)V

    goto :goto_11

    :sswitch_1
    iget-object v0, p0, Lad;->x:Lal;

    iget-object v1, p0, Lad;->b:[B

    const/4 v2, 0x1

    const/4 v3, 0x4

    invoke-virtual {v0, v1, v2, v3}, Lal;->Code([BII)V

    iget-object v0, p0, Lad;->v:Ll;

    iget-object v1, p0, Lad;->b:[B

    const/4 v2, 0x5

    const/4 v3, 0x4

    invoke-virtual {v0, v1, v2, v3}, Ll;->I([BII)V

    iget-object v0, p0, Lad;->b:[B

    const/4 v1, 0x1

    aget-byte v0, v0, v1

    iget-object v1, p0, Lad;->b:[B

    const/4 v2, 0x5

    aget-byte v1, v1, v2

    if-ne v0, v1, :cond_1e

    iget-object v0, p0, Lad;->b:[B

    const/4 v1, 0x2

    aget-byte v0, v0, v1

    iget-object v1, p0, Lad;->b:[B

    const/4 v2, 0x6

    aget-byte v1, v1, v2

    if-ne v0, v1, :cond_1e

    iget-object v0, p0, Lad;->b:[B

    const/4 v1, 0x3

    aget-byte v0, v0, v1

    iget-object v1, p0, Lad;->b:[B

    const/4 v2, 0x7

    aget-byte v1, v1, v2

    if-ne v0, v1, :cond_1e

    iget-object v0, p0, Lad;->b:[B

    const/4 v1, 0x4

    aget-byte v0, v0, v1

    iget-object v1, p0, Lad;->b:[B

    const/16 v2, 0x8

    aget-byte v1, v1, v2

    if-eq v0, v1, :cond_20

    :cond_1e
    invoke-direct {p0}, Lad;->B()V

    goto/16 :goto_5

    :sswitch_2
    const/4 v0, 0x5

    const/4 v1, 0x7

    invoke-direct {p0, v0, v1}, Lad;->I(II)V

    iget-object v0, p0, Lad;->b:[B

    const/16 v1, 0x8

    invoke-static {v0, v1}, Ln;->Z([BI)I

    move-result v0

    const v1, 0x20353032

    if-ne v0, v1, :cond_1a

    sget-boolean v0, Lad;->I:Z

    if-nez v0, :cond_1f

    const/4 v0, 0x1

    sput-boolean v0, Lad;->I:Z

    const/4 v0, -0x1

    sput v0, Lad;->J:I

    :cond_1f
    const/4 v0, 0x0

    sput v0, Lad;->Code:I

    const/16 v0, 0x10

    invoke-direct {p0, v0}, Lad;->Z(I)V

    goto/16 :goto_f

    :cond_20
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lad;->Code(Z)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    goto/16 :goto_5

    :cond_21
    move-object v3, v0

    goto/16 :goto_7

    :sswitch_data_0
    .sparse-switch
        0x2 -> :sswitch_0
        0x3 -> :sswitch_1
        0x48 -> :sswitch_2
    .end sparse-switch
.end method
